Auth Provider
An authentication context provider for your application.
Installation
Examples
See Notion Auth for a complete example.
API Reference
Note
You can use https://notion-authn.vercel.app as the authURL for testing
purposes.
| Prop | Type | Default | Description |
|---|---|---|---|
authURL | string | - | The URL of the authentication service. |
appURL | string | - | The base URL for frontend return links. |
redirect | (url: string) => void | - | Your URL redirect function. |