© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
ローリー Laurie

Correct redirect url when calling generateLink

I'm calling generateLink on user signup like this:

const { data, error } = await adminClient.generateLink({
    type: 'signup',
    email,
    password,
    options: { data: { username: username }, redirectTo: '/verify' }
});
const { data, error } = await adminClient.generateLink({
    type: 'signup',
    email,
    password,
    options: { data: { username: username }, redirectTo: '/verify' }
});


But in the response I don't get the 'verify' party, only
    redirect_to: 'http://localhost:5173',
    redirect_to: 'http://localhost:5173',


I've added the url to the
config.toml
config.toml
file and restarted the emulators but it still redirects to the blank url
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

Supabase auth generateLink not applying redirect_to
SupabaseSSupabase / help-and-questions
13mo ago
Redirect URL configuration
SupabaseSSupabase / help-and-questions
8mo ago
self hosted redirect url?
SupabaseSSupabase / help-and-questions
15mo ago
Password Reset Redirect URL
SupabaseSSupabase / help-and-questions
4y ago