ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
3 replies
user8923

Auth UI does not redirect after login

The Auth UI React component does not redirect me after login, despite the
redirectTo
redirectTo
attribute being present. Here is how I call the component:

<Auth supabaseClient={ supabase } redirectTo={ "http://localhost:3000" } appearance={ { theme: ThemeSupa } } />
<Auth supabaseClient={ supabase } redirectTo={ "http://localhost:3000" } appearance={ { theme: ThemeSupa } } />


I tried many forms for the
redirectTo
redirectTo
option, including with an ending slash. In the console,
http://localhost:3000
http://localhost:3000
is my Site URL, and is also present in the Redirect URLs list.

The authentication happens but the redirect doesn't.
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

Redirect after login
SupabaseSSupabase / help-and-questions
4y ago
How to redirect after successful sign-in using Auth UI?
SupabaseSSupabase / help-and-questions
3y ago
Auth UI not working
SupabaseSSupabase / help-and-questions
4y ago
Supabase forces page redirect after oAuth login?
SupabaseSSupabase / help-and-questions
4y ago