SupabaseS
Supabase4y ago
emre

Notion auth does return a url but not access token.

Hi, I am trying to create auth flow with Notion in my Remix app.

When I use login with oauth provider method and provide Notion, it just returns a url.

When i manually go to that url it takes me to notion auth page, after i give access, then it takes me back to the website with search params.

How do I supposed to get access_token for my session cookie in this setup? Somehow I can't access search params in my loaders.

What's the ideal flow for auth with notion? I run remix on netlify.
Was this page helpful?