Allow username sign-in to work with email OTP #1944

Open
opened 2026-03-13 09:14:09 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jinsley8 on GitHub (Sep 16, 2025).

Is this suited for github?

  • Yes, this is suited for github

I want to use Email OTP as a login method for users of an Expo mobile app but I also want them to be able to login using their username.

Describe the solution you'd like

Allow users to login with Email or Username for Email OTP.

Check if username exists, if it does, send OTP to the associated email.

Describe alternatives you've considered

None

Additional context

No response

Originally created by @jinsley8 on GitHub (Sep 16, 2025). ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. I want to use Email OTP as a login method for users of an Expo mobile app but I also want them to be able to login using their username. ### Describe the solution you'd like Allow users to login with Email or Username for Email OTP. Check if username exists, if it does, send OTP to the associated email. ### Describe alternatives you've considered None ### Additional context _No response_
GiteaMirror added the enhancementexpo labels 2026-03-13 09:14:09 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 16, 2025):

Hi, @jinsley8. I'm Dosu, and I'm helping the better-auth team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested a feature for an Expo mobile app to enable login via username using Email OTP.
  • The system would verify the username and send the OTP to the linked email address.
  • You want the option to log in using either email or username.
  • No alternative solutions or further discussion have been provided yet.

Next Steps:

  • Please let me know if this feature is still relevant to the latest version of better-auth by commenting on this issue.
  • If I don’t hear back within 7 days, this issue will be automatically closed.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Dec 16, 2025): Hi, @jinsley8. 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 for an Expo mobile app to enable login via username using Email OTP. - The system would verify the username and send the OTP to the linked email address. - You want the option to log in using either email or username. - No alternative solutions or further discussion have been provided yet. **Next Steps:** - Please let me know if this feature is still relevant to the latest version of better-auth by commenting on this issue. - If I don’t hear back within 7 days, this issue will be automatically closed. Thanks for your understanding and contribution!
Author
Owner

@jinsley8 commented on GitHub (Dec 16, 2025):

Still relevant

@jinsley8 commented on GitHub (Dec 16, 2025): Still relevant
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#1944