© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago
Robin

Resend confirmation email not working

I want to create a flow where the user signs in and I send them an email to confirm their email.

I disabled the "Confirm Email" option on the email provider in Supabase Auth UI.

When it is enabled, new users automatically get an email from Sendgrid, which I set up.

However, in this new flow, the email is never sent.

const { data, error } = await supabase.auth.resend({ email: user.email, type: "signup" });
      this.logger.logWithParams("Sent email confirmation", { data, error});
const { data, error } = await supabase.auth.resend({ email: user.email, type: "signup" });
      this.logger.logWithParams("Sent email confirmation", { data, error});


This prints
{
    "data": {
        "user": null,
        "session": null
    },
    "error": null
}
{
    "data": {
        "user": null,
        "session": null
    },
    "error": null
}


Am I missing a step or doing something incorrectly? I followed the docs here
Resend an OTP | Supabase
Resend an OTP | Supabase
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

Confirmation email not working
SupabaseSSupabase / help-and-questions
2mo ago
Resend email confirmation redirects with malformed URL parameters
SupabaseSSupabase / help-and-questions
5mo ago
Resend Invitation Email
SupabaseSSupabase / help-and-questions
6mo ago
Email Confirmation - onAuthStateChange?
SupabaseSSupabase / help-and-questions
4y ago