Auth Provider

An authentication context provider for your application.

Installation

pnpm add @notion-kit/auth-ui

Examples

See Notion Auth for a complete example.

API Reference

Note

You can use https://notion-authn.vercel.app as the baseURL for testing purposes.

PropTypeDefaultDescription
baseURLstring-The base URL of the authentication service.
redirect(url: string) => void-Your URL redirect function.

On this page