© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
17 replies
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' 
emailRedirectTo: 'https://mydomain.com/auth/callback' 
in
supabase.auth.signUp()
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 🙂
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

Magic Link emailRedirectTo Parameter Being Ignored
SupabaseSSupabase / help-and-questions
4mo ago
Redirect URLs ain't working at ALL
SupabaseSSupabase / help-and-questions
7mo ago
Trouble Adding/Removing Redirect URLs
SupabaseSSupabase / help-and-questions
8mo ago
Configuring Environment-Specific Redirect URLs in Next.js with Supabase Auth
SupabaseSSupabase / help-and-questions
3y ago