@ngriffin_uk/auth-provider-github
v4.0.0
Published
github authentication provider for @ngriffin_uk/auth-core
Readme
@ngriffin_uk/auth-provider-github
GitHub OAuth middleware for auth-core.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-githubimport { createGitHubAuth } from "@ngriffin_uk/auth-provider-github";
const auth = baseAuth.use(
createGitHubAuth({ clientId, clientSecret, redirectUri, stateStore, resolveIdentity })
);The provider uses PKCE S256 as well as single-use state. Store and consume OAuth state atomically.
