@ngriffin_uk/auth-provider-polar
v4.0.0
Published
polar authentication provider for @ngriffin_uk/auth-core
Readme
@ngriffin_uk/auth-provider-polar
Polar OAuth middleware for auth-core.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-polarimport { createPolarAuth } from "@ngriffin_uk/auth-provider-polar";
const auth = baseAuth.use(
createPolarAuth({ clientId, clientSecret, redirectUri, stateStore, resolveIdentity })
);The middleware selects the appropriate client authentication mode from the provided credentials.
