createFacebookAuthProvider

View Source

Summary

Creates a Facebook Login provider.

Signature

function createFacebookAuthProvider(
  options: FacebookAuthProviderOptions,
): OAuthProvider<FacebookAuthProfile, "facebook", OAuthStandardTokens>;

Params

options

Facebook OAuth client settings for your application.

Returns

An OAuth provider that can be passed to startExternalAuth() and finishExternalAuth().