handleNotionCallback
handleNotionCallback(
callbackPath:string,walletAddress:string|undefined):Promise<string|null>
Defined in: src/lib/auth/notion.ts:738Â
Handle the OAuth callback - exchange code for tokens This is done directly with Notion (no backend needed due to PKCE)
Parameters
| Parameter | Type | Description |
|---|---|---|
|
|
|
The callback path used during authorization |
|
|
|
Wallet address for token encryption (optional) |
Returns
Promise<string | null>
Last updated on