@ngriffin_uk/auth-provider-discord
v4.0.0
Published
discord authentication provider for @ngriffin_uk/auth-core
Readme
@ngriffin_uk/auth-provider-discord
Discord OAuth middleware for auth-core.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-discordimport { createDiscordAuth } from "@ngriffin_uk/auth-provider-discord";
const auth = baseAuth.use(
createDiscordAuth({ clientId, clientSecret, redirectUri, stateStore, resolveIdentity })
);Configure the required Discord scopes in the provider options.
