[GH-ISSUE #1337] Plugin idea: Disposable/temp/fake email check #8700

Closed
opened 2026-04-13 03:51:49 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @RakeshPotnuru on GitHub (Feb 3, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1337

Is this suited for github?

  • Yes, this is suited for github

Currently, there's no way to identify temp/fake/disposable emails.

Describe the solution you'd like

I know we use email verification for this but I use APIs like https://disposable.debounce.io/?email= in my projects before creating the user in db to prevent fake/temporary accounts.

Describe alternatives you've considered

I don't know if a plugin is the right way to do this. Something like this might also help:

export const auth = betterAuth({
  beforeSignup: () => {
     // do this before signing up
  }
})

Additional context

No response

Originally created by @RakeshPotnuru on GitHub (Feb 3, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1337 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. Currently, there's no way to identify temp/fake/disposable emails. ### Describe the solution you'd like I know we use email verification for this but I use APIs like `https://disposable.debounce.io/?email=` in my projects before creating the user in db to prevent fake/temporary accounts. ### Describe alternatives you've considered I don't know if a plugin is the right way to do this. Something like this might also help: ```ts export const auth = betterAuth({ beforeSignup: () => { // do this before signing up } }) ``` ### Additional context _No response_
GiteaMirror added the locked label 2026-04-13 03:51:49 -05:00
Author
Owner

@RakeshPotnuru commented on GitHub (Feb 3, 2025):

nvm. I see there's a community plugin for this https://github.com/gekorm/better-auth-harmony

<!-- gh-comment-id:2630522007 --> @RakeshPotnuru commented on GitHub (Feb 3, 2025): nvm. I see there's a community plugin for this https://github.com/gekorm/better-auth-harmony
Author
Owner

@arithefirst commented on GitHub (Feb 3, 2025):

what a waste of funny number 1337 :(

<!-- gh-comment-id:2632408361 --> @arithefirst commented on GitHub (Feb 3, 2025): what a waste of funny number 1337 :(
Author
Owner

@RakeshPotnuru commented on GitHub (Feb 4, 2025):

sorry

<!-- gh-comment-id:2632721063 --> @RakeshPotnuru commented on GitHub (Feb 4, 2025): sorry
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8700