@ngriffin_uk/auth-provider-notion
v4.0.0
Published
notion authentication provider for @ngriffin_uk/auth-core
Downloads
52
Readme
@ngriffin_uk/auth-provider-notion
Notion OAuth middleware for auth-core.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-notionimport { createNotionAuth } from "@ngriffin_uk/auth-provider-notion";
const auth = baseAuth.use(
createNotionAuth({ clientId, clientSecret, redirectUri, stateStore, resolveIdentity })
);The provider includes Notion's required owner/user authorisation parameters.
