© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y 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.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

auth.signup() with metadata does not return a User
SupabaseSSupabase / help-and-questions
3y ago
sb-access-token,sb-refresh-token VS supabase-auth-token?
SupabaseSSupabase / help-and-questions
4y ago
Getting the auth provider access token
SupabaseSSupabase / help-and-questions
4y ago
http://localhost:3000/auth/auth-code-error#access_token=eyJhbGciOiJIUzI1........
SupabaseSSupabase / help-and-questions
12mo ago