© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
meaw3939

Supabase.auth.exchangeCodeForSession doesn't persist session

Hi there, I am seeing my session created via exchangeCodeForSession to disappear after redirect. More info here: https://github.com/orgs/supabase/discussions/20454
any ideas?
GitHub
PKCE-flow session doesn't persist after redirect · supabase · Discu...
Help needed I am trying to add Google OAuth to my Next.js app using Supabase Auth. I followed the documentation for PKCE flow https://supabase.com/docs/guides/auth/server-side/oauth-with-pkce-flow-...
PKCE-flow session doesn't persist after redirect · supabase · Discu...
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

Session from `supabase.auth.exchangeCodeForSession()` not persisting
SupabaseSSupabase / help-and-questions
3y ago
nextjs + supabase auth, how to persist user session?
SupabaseSSupabase / help-and-questions
4y ago
exchangeCodeForSession doesn´t work in production
SupabaseSSupabase / help-and-questions
14mo ago
supabase.auth.session() Error
SupabaseSSupabase / help-and-questions
4y ago