[PR #3551] [MERGED] feat(sso): support disabling setting email verified #13126

Closed
opened 2026-04-13 08:46:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3551
Author: @Bekacru
Created: 7/22/2025
Status: ✅ Merged
Merged: 7/23/2025
Merged by: @Bekacru

Base: main ← Head: fix/saml


📝 Commits (6)

  • 58e7154 feat: support disabling setting email verified
  • a920a7a Update docs/content/docs/plugins/sso.mdx
  • 83c4028 fix: update account handling in SSO to support trusted providers
  • 62d88ef default to not setting email verified
  • 9b1365b docs: update documentation
  • f65b525 add attribute map

📊 Changes

2 files changed (+68 additions, -3 deletions)

View changed files

📝 docs/content/docs/plugins/sso.mdx (+2 -0)
📝 packages/sso/src/index.ts (+66 -3)

📄 Description

Summary by cubic

Added an option to disable setting the email verified flag during SSO if the provider should not be trusted for email verification.

  • New Features
    • Introduced the disableSettingEmailVerified option in SSO configuration.
    • Updated documentation to explain the new option.

🔄 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/3551 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 7/22/2025 **Status:** ✅ Merged **Merged:** 7/23/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/saml` --- ### 📝 Commits (6) - [`58e7154`](https://github.com/better-auth/better-auth/commit/58e715435230a5fa16763237e5cbf641c56fd681) feat: support disabling setting email verified - [`a920a7a`](https://github.com/better-auth/better-auth/commit/a920a7a82f369d50c257b3f8469f6c9f505f43b6) Update docs/content/docs/plugins/sso.mdx - [`83c4028`](https://github.com/better-auth/better-auth/commit/83c402873bc8db1dc518f224097915563b6e99cf) fix: update account handling in SSO to support trusted providers - [`62d88ef`](https://github.com/better-auth/better-auth/commit/62d88ef4bfcc7dca966e94980b3bb5d6065e4290) default to not setting email verified - [`9b1365b`](https://github.com/better-auth/better-auth/commit/9b1365b1191dcb93d444b5c3495c0cf614d7f3c0) docs: update documentation - [`f65b525`](https://github.com/better-auth/better-auth/commit/f65b525fc4427cd669268ff50cdd0a270a99b16e) add attribute map ### 📊 Changes **2 files changed** (+68 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/sso.mdx` (+2 -0) 📝 `packages/sso/src/index.ts` (+66 -3) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added an option to disable setting the email verified flag during SSO if the provider should not be trusted for email verification. - **New Features** - Introduced the `disableSettingEmailVerified` option in SSO configuration. - Updated documentation to explain the new option. <!-- End of auto-generated description by cubic. --> --- <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-04-13 08:46:16 -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#13126