[GH-ISSUE #1553] Username available endpoint #8813

Closed
opened 2026-04-13 04:01:41 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @daveycodez on GitHub (Feb 23, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1553

Is this suited for github?

  • Yes, this is suited for github

Describe the solution you'd like

Simple API endpoint that checks if a username is available, so we can set up debounce checks on input change into the username sign up form or edit username forms. Ideally it would be an optional endpoint that you can enable in the options for the Username plugin.

I'd love to build this into my better-auth-ui package without needing extra instructions on how to set up a custom API to check if usernames are taken for various backends. Most social media apps (Twitter, Instagram) check for username while you are typing it, so you can know before you submit the form if the username is even available.

Describe alternatives you've considered

Custom API, but I believe most might want this feature out of the box for the Username plugin.

Originally created by @daveycodez on GitHub (Feb 23, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1553 ### Is this suited for github? - [x] Yes, this is suited for github ### Describe the solution you'd like Simple API endpoint that checks if a username is available, so we can set up debounce checks on input change into the username sign up form or edit username forms. Ideally it would be an optional endpoint that you can enable in the options for the Username plugin. I'd love to build this into my better-auth-ui package without needing extra instructions on how to set up a custom API to check if usernames are taken for various backends. Most social media apps (Twitter, Instagram) check for username while you are typing it, so you can know before you submit the form if the username is even available. ### Describe alternatives you've considered Custom API, but I believe most might want this feature out of the box for the Username plugin.
GiteaMirror added the locked label 2026-04-13 04:01:41 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jun 14, 2025):

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

Issue Summary:

  • Proposal to add an API endpoint for checking username availability.
  • Aimed at enhancing real-time validation during user sign-up or username editing.
  • Suggested as an optional feature within the Username plugin for easier integration.
  • No comments or activity since the issue was created.

Next Steps:

  • Is this issue still relevant to the latest version of the better-auth repository? If so, please comment to keep the discussion open.
  • If there is no further activity, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

<!-- gh-comment-id:2972847803 --> @dosubot[bot] commented on GitHub (Jun 14, 2025): Hi, @daveycodez. I'm [Dosu](https://dosu.dev), and I'm helping the better-auth team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - Proposal to add an API endpoint for checking username availability. - Aimed at enhancing real-time validation during user sign-up or username editing. - Suggested as an optional feature within the Username plugin for easier integration. - No comments or activity since the issue was created. **Next Steps:** - Is this issue still relevant to the latest version of the better-auth repository? If so, please comment to keep the discussion open. - If there is no further activity, the issue will be automatically closed in 7 days. 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#8813