Skip to content

Conversation

@steebchen
Copy link
Member

Summary

  • Don't trust OAuth provider's email verification status
  • For OAuth signups (GitHub, etc.), explicitly set emailVerified to false
  • Send verification email using existing email flow (Better Auth's sendVerificationEmail API)

Test plan

  • Sign up with GitHub OAuth in hosted mode
  • Verify emailVerified is set to false in database
  • Verify verification email is sent
  • Click verification link and confirm emailVerified becomes true

🤖 Generated with Claude Code

Don't trust OAuth provider's email verification status.
For OAuth signups, explicitly set emailVerified to false
and send verification email using existing email flow.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants