@next-nest-auth/nestauth
Version:
NestAuth is an authentication solution for NestJS applications, designed to handle user login, session management, and token-based authentication (JWT). It integrates seamlessly with Next.js and other frontends to provide a unified authentication system,
13 lines (11 loc) • 348 B
text/typescript
import { Injectable } from "@nestjs/common";
import { ConfigService } from "@nestjs/config";
import { AuthGuard } from "@nestjs/passport";
()
export class NestAuthFacebookGuard extends AuthGuard("facebook") {
constructor(private configService: ConfigService) {
super({
accessType: "offline",
});
}
}