SupabaseS
Supabase•5mo ago
szy

emailRedirectTo parameter not working - Supabase ignoring custom redirect urls

Hi! I'm having an issue with Supabase auth where the emailRedirectTo parameter is being ignored. I'm trying to separate domains for early access domain vs development.

Problem:

I set emailRedirectTo: 'https://mydomain.com/auth/callback' in supabase.auth.signUp()
But confirmation emails still redirect to the Site URL from my dashboard
The redirect_to in the email link shows my dashboard Site URL, not my custom one

What I've tried:

  • Set emailRedirectTo parameter correctly
  • Verified the parameter is being passed
  • Checked that the URL is valid
Expected behavior:

Email confirmations should redirect to my custom emailRedirectTo URL, not override with the dashboard Site URL

Thanks for any help 🙂
Was this page helpful?