Skip to main content

Social Auth

Type: OAuth Provider Packages

Available Providers

PackageProviderInstallation
@nauth-toolkit/social-googleGoogle OAuth 2.0yarn add @nauth-toolkit/social-google
@nauth-toolkit/social-appleSign in with Appleyarn add @nauth-toolkit/social-apple
@nauth-toolkit/social-facebookFacebook Loginyarn add @nauth-toolkit/social-facebook

Enable a provider

@Module({
imports: [
GoogleSocialAuthModule, // provider module
AuthModule.forRoot(config), // core module
],
})
export class AppModule {}

Configuration keys

Providers are configured under config.social:

  • config.social.google
  • config.social.apple
  • config.social.facebook

Providers