Skip to Content

startNotionAuth

startNotionAuth(callbackPath: string, walletAddress?: string): Promise<never>

Defined in: src/lib/auth/notion.ts:674 

Start the Notion OAuth flow with PKCE and Dynamic Client Registration Redirects to Notion authorization page

No client ID needed - uses dynamic registration (RFC 7591)

Parameters

ParameterTypeDescription

callbackPath

string

The path for OAuth callback (e.g., “/auth/notion/callback”)

walletAddress?

string

Returns

Promise<never>

Last updated on