© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
1 reply
Rasel Hossain

Resend OTP does not working

I’ve set up magic link signup for passwordless authentication. The signup flow works fine: after signing up, the confirmation email is sent successfully from Supabase using the Send Email hook.

The confirmation link and OTP expire after 5 minutes. To handle this, I added a Resend OTP button, which should trigger another OTP email if the previous one expires. From my code and functionality, the resend request is being sent successfully, but I’m not receiving any email in my inbox.

Why could this be happening?

Here is the sample code for resend otp :
    const { data, error } = await supabase.auth.resend({
      email: "rasel@gmail.com",
      type: "signup",
    });
    const { data, error } = await supabase.auth.resend({
      email: "rasel@gmail.com",
      type: "signup",
    });
image.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

Resend confirmation email not working
SupabaseSSupabase / help-and-questions
3y ago
OTP emails not working with Resend SMTP, is working fine with built-in Supabase SMTP
SupabaseSSupabase / help-and-questions
6mo ago
Why is it not possible to resend an OTP for password recovery ?
SupabaseSSupabase / help-and-questions
8mo ago
Does Supabase auth support sign ups via OTP? (`Signups not allowed for otp`)
SupabaseSSupabase / help-and-questions
14mo ago