© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
27 replies
Hosna Qasmei

What is the "right way" to use URL Configuration? Or auth in localhost?

I have a web app I'm working on. I have my domain set to the URL I want it to go to.
However when I am in local development and need to go through my auth, it keeps redirecting me to the URL in the URL Configuration. My work around right now is that whenever I'm developing, I switch the default URL Configuration to the localhost:3000, and it works.
But then my production auth redirect to localhost:3000 url. What is the right way to do this? Do I have to create another database just for dev?
Screenshot_2023-11-10_at_12.40.22_AM.png
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

Is there a way to change the consent screen for google auth to not use the supabase url?
SupabaseSSupabase / help-and-questions
14mo ago
Redirect URL configuration
SupabaseSSupabase / help-and-questions
8mo ago
What is the correct way to implement the next query param in auth/confirm routes?
SupabaseSSupabase / help-and-questions
4mo ago
How to use Supabase queue in localhost?
SupabaseSSupabase / help-and-questions
9mo ago