© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
2 replies
somesoil

resetPasswordForEmail data object always empty

Hey yall I currently have this peace of code:
 const { data, error } = await supabase.auth.resetPasswordForEmail(email, {
      redirectTo: redirectUrl
    });
 const { data, error } = await supabase.auth.resetPasswordForEmail(email, {
      redirectTo: redirectUrl
    });

When I do a console.log("data: " + JSON.stringify(data))

I get an empty value whether the user with that email exists in the db or not. Is that what is expected?
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

resetPasswordForEmail
SupabaseSSupabase / help-and-questions
4y ago
resetPasswordForEmail not respecting the redirectURL
SupabaseSSupabase / help-and-questions
8mo ago
Is the Database Webhook payload always empty?
SupabaseSSupabase / help-and-questions
3y ago
resetPasswordForEmail not adhering to 'redirectTo' value
SupabaseSSupabase / help-and-questions
4y ago