Session from `supabase.auth.exchangeCodeForSession()` not persisting
Hi there! I am using Supabase Oauth with google, redirecting to my callback URL and can see the right session/user following: https://supabase.com/docs/guides/auth/auth-helpers/nextjs#managing-sign-in-with-code-exchange. However, when redirecting to my requestUrl.origin, I try to get the session using supabaseServerClient.auth.getSession(); but receive an empty session.
My email/pwd flow works fine with signInWithPassword. please help thank you
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.