supabase
supabase copied to clipboard
Handling PKCE flow during SSR
When I try to sign in with auth providers like Google or Apple, useSupabaseUser() returns false during SSR. But:
- It returns the user object after hydration on the client side without any issues.
- The code works fine server-side when using the standard email / password flow.
Could it be a bug somewhere, or is it just not possible to handle PKCE flow during SSR with this module?
Versions
"@nuxtjs/supabase": "^1.2.2",
"@supabase/supabase-js": "^2.44.2",
"nuxt": "3.12.2"
@AndreiHudovich, I'm not having any issue with GitHub provider. Could you try with the latest release?
Will do today, and let you know!
@AndreiHudovich Have you found a solution by any chance? I seem to have the same problem right now :(