Validate accounts created via Twitter #534

Closed
opened 2026-03-13 07:51:38 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @jonmh85 on GitHub (Jan 6, 2025).

Is this suited for github?

  • Yes, this is suited for github

User signs in with a twitter account.
No email is supplied via twitter API.
Verification email is sent to user (fails).

Describe the solution you'd like

I would expect to be able to opt out of email verification and set as verified if user signs in with twitter and and no email is provided.

I currently have an email hardcoded (resend) so I am receiving the verification link when I log-in with twitter, it sends a link with the callback url missing.

Describe alternatives you've considered

I show a banner based on verification status which means twitter users would always see the banner. I think I could also check the users providerID and only show this for "credential".

Additional context

No response

Originally created by @jonmh85 on GitHub (Jan 6, 2025). ### Is this suited for github? - [ ] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. User signs in with a twitter account. No email is supplied via twitter API. Verification email is sent to user (fails). ### Describe the solution you'd like I would expect to be able to opt out of email verification and set as verified if user signs in with twitter and and no email is provided. I currently have an email hardcoded (resend) so I am receiving the verification link when I log-in with twitter, it sends a link with the callback url missing. ### Describe alternatives you've considered I show a banner based on verification status which means twitter users would always see the banner. I think I could also check the users providerID and only show this for "credential". ### Additional context _No response_
Author
Owner

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

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

Issue Summary:

  • Problem with account verification for users signing in via Twitter due to lack of email from Twitter API.
  • Suggestion to allow users to opt out of email verification when no email is provided.
  • Mention of a workaround using a hardcoded email.
  • Consideration of displaying a verification status banner for specific user types.
  • No further activity or comments on the issue.

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.
  • Otherwise, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Jun 12, 2025): Hi, @jonmh85. 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:** - Problem with account verification for users signing in via Twitter due to lack of email from Twitter API. - Suggestion to allow users to opt out of email verification when no email is provided. - Mention of a workaround using a hardcoded email. - Consideration of displaying a verification status banner for specific user types. - No further activity or comments on the issue. **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. - Otherwise, this 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#534