[GH-ISSUE #93] Send Email OTP for various use cases. #16753

Closed
opened 2026-04-15 14:42:57 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @sanjaydotpro on GitHub (Oct 5, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/93

Send an OTP anytime for the following use cases:

  1. email verification after credential login
  2. forgot password email verification
  3. account deletion email verification
  4. change primary email, verification OTP to be sent on old and new email

We should be able to pass the otp length, expiry etc to the function.

Originally created by @sanjaydotpro on GitHub (Oct 5, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/93 Send an OTP anytime for the following use cases: 1. email verification after credential login 2. forgot password email verification 3. account deletion email verification 4. change primary email, verification OTP to be sent on old and new email We should be able to pass the otp length, expiry etc to the function.
GiteaMirror added the enhancementlocked labels 2026-04-15 14:42:57 -05:00
Author
Owner

@alechaye commented on GitHub (Oct 16, 2024):

OTP would be great, including being able to use it as the only authentication method.

<!-- gh-comment-id:2415690948 --> @alechaye commented on GitHub (Oct 16, 2024): OTP would be great, including being able to use it as the only authentication method.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16753