[PR #2078] [MERGED] fix: verify github email when profile has an email #4142

Closed
opened 2026-03-13 11:34:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2078
Author: @erquhart
Created: 4/1/2025
Status: Merged
Merged: 4/3/2025
Merged by: @Bekacru

Base: mainHead: fix/always-verify-github-email


📝 Commits (1)

  • c4e9dec fix: verify github email when profile has an email

📊 Changes

1 file changed (+20 additions, -21 deletions)

View changed files

📝 packages/better-auth/src/social-providers/github.ts (+20 -21)

📄 Description

Currently if a user signs up with GitHub and has an email address on their profile, the check for verified emails is skipped. This ensures the check always runs.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2078 **Author:** [@erquhart](https://github.com/erquhart) **Created:** 4/1/2025 **Status:** ✅ Merged **Merged:** 4/3/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/always-verify-github-email` --- ### 📝 Commits (1) - [`c4e9dec`](https://github.com/better-auth/better-auth/commit/c4e9dec7452a75479848de2408b0be301d033cf2) fix: verify github email when profile has an email ### 📊 Changes **1 file changed** (+20 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/social-providers/github.ts` (+20 -21) </details> ### 📄 Description Currently if a user signs up with GitHub and has an email address on their profile, the check for verified emails is skipped. This ensures the check always runs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:34:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4142