SupabaseS
Supabase•2mo ago
mth_gama

OAuth always redirects to localhost Supabase bug

Hey everyone 👋

I’m having a strange issue with Supabase Auth (Google OAuth).
Even after updating the Site URL to my production domain (https://juskit.ai) and forcing redirectTo in my frontend,
the final callback still redirects to https://localhost:3000/#access_token=....

I've already tried:
Updating the Site URL and Redirect URLs in the dashboard
Forcing redirectTo: 'https://juskit.ai/auth/callback'
Pausing and resuming the project
Clearing all sessions and localStorage
Reconfiguring the Google provider

Is it possible that GoTrue still holds an old cached SITE_URL value internally?
If so, how can I completely reset or refresh it (without cloning the whole project)?

Has anyone faced this before?
O seu kit de ferramentas de IA para advogados e profissionais do Direito.
Was this page helpful?