Verification email with link & otp #2176

Closed
opened 2026-03-13 09:32:03 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @kenmueller on GitHub (Oct 22, 2025).

Is this suited for github?

  • Yes, this is suited for github

I’m trying to migrate off of Supabase Auth, but I cannot figure out how to send a verification email on signup/reset password that includes both a link and one time passcode. This is very important and the only thing stopping me from migrating.

Describe the solution you'd like

I’d like a otp parameter on the email verification callback

Describe alternatives you've considered

I cannot see a way to send a verification email with a link and otp in the same email. Only in different emails.

Additional context

No response

Originally created by @kenmueller on GitHub (Oct 22, 2025). ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. I’m trying to migrate off of Supabase Auth, but I cannot figure out how to send a verification email on signup/reset password that includes both a link and one time passcode. This is very important and the only thing stopping me from migrating. ### Describe the solution you'd like I’d like a otp parameter on the email verification callback ### Describe alternatives you've considered I cannot see a way to send a verification email with a link and otp in the same email. Only in different emails. ### Additional context _No response_
GiteaMirror added the enhancement label 2026-03-13 09:32:03 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 21, 2026):

Hi, @kenmueller. I'm Dosu (https://dosu.dev), and I'm helping the better-auth team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested a feature to include both a verification link and a one-time passcode (OTP) in the same email for Supabase Auth email verification.
  • Currently, the system only supports sending separate emails for the verification link and OTP.
  • You suggested adding an OTP parameter in the email verification callback to enable this combined approach.
  • This feature is important for your migration from Supabase Auth.
  • There has been no further activity or responses on this issue.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of better-auth by commenting here.
  • If I do not hear back within 7 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Jan 21, 2026): Hi, @kenmueller. I'm Dosu (https://dosu.dev), and I'm helping the better-auth team manage their backlog and am marking this issue as stale. **Issue Summary:** - You requested a feature to include both a verification link and a one-time passcode (OTP) in the same email for Supabase Auth email verification. - Currently, the system only supports sending separate emails for the verification link and OTP. - You suggested adding an OTP parameter in the email verification callback to enable this combined approach. - This feature is important for your migration from Supabase Auth. - There has been no further activity or responses on this issue. **Next Steps:** - Please let me know if this issue is still relevant to the latest version of better-auth by commenting here. - If I do not hear back within 7 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2176