[GH-ISSUE #4712] Allow username sign-in to work with email OTP #10030

Closed
opened 2026-04-13 05:54:03 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @jinsley8 on GitHub (Sep 16, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/4712

Is this suited for github?

  • 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

Originally created by @jinsley8 on GitHub (Sep 16, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/4712 ### 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 enhancementlocked labels 2026-04-13 05:54:03 -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!

<!-- gh-comment-id:3661324558 --> @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

<!-- gh-comment-id:3661672876 --> @jinsley8 commented on GitHub (Dec 16, 2025): Still relevant
Author
Owner

@dosubot[bot] commented on GitHub (Mar 17, 2026):

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 Expo mobile apps to enable login via username using Email OTP.
  • The system would verify the username and send the OTP to the associated email.
  • This would allow login by either email or username.
  • The issue was marked stale due to inactivity, but you confirmed the feature is still relevant.
  • No alternative solutions or further discussion have been provided yet.

Next Steps:

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

Thank you for your understanding and contribution!

<!-- gh-comment-id:4076142871 --> @dosubot[bot] commented on GitHub (Mar 17, 2026): 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 Expo mobile apps to enable login via username using Email OTP. - The system would verify the username and send the OTP to the associated email. - This would allow login by either email or username. - The issue was marked stale due to inactivity, but you confirmed the feature is still relevant. - No alternative solutions or further discussion have been provided yet. Next Steps: - Please let me know if this feature request is still relevant to the latest version of better-auth by commenting on this issue. - If I do not hear back within 7 days, the issue will be automatically closed. Thank you for your understanding and contribution!
Author
Owner

@github-actions[bot] commented on GitHub (Mar 31, 2026):

This issue has been locked as it was closed more than 7 days ago. If you're experiencing a similar problem or you have additional context, please open a new issue and reference this one.

<!-- gh-comment-id:4165908463 --> @github-actions[bot] commented on GitHub (Mar 31, 2026): This issue has been locked as it was closed more than 7 days ago. If you're experiencing a similar problem or you have additional context, please open a new issue and reference this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#10030