@ngriffin_uk/auth-provider-facebook
v4.0.0
Published
facebook authentication provider for @ngriffin_uk/auth-core
Readme
@ngriffin_uk/auth-provider-facebook
Facebook OAuth middleware for auth-core.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-facebookimport { createFacebookAuth } from "@ngriffin_uk/auth-provider-facebook";
const auth = baseAuth.use(
createFacebookAuth({ clientId, clientSecret, redirectUri, stateStore, resolveIdentity })
);The service fetches the required profile fields in resolveIdentity.
