[PR #5755] [MERGED] docs: add warning on trustEmailVerified config #6203

Closed
opened 2026-03-13 12:50:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5755
Author: @Bekacru
Created: 11/4/2025
Status: Merged
Merged: 11/4/2025
Merged by: @Bekacru

Base: canaryHead: docs/sso


📝 Commits (1)

📊 Changes

2 files changed (+9 additions, -1 deletions)

View changed files

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

📄 Description

Summary by cubic

Add a security warning and clear guidance for the trustEmailVerified option in SSO docs and JSDoc. Explains takeover risk, when to enable, how to block new provider registration (e.g., disabledPaths), and how to allow safe account linking via accountLinking + trustedProviders.

Written for commit f8edab22e1. Summary will update automatically on new commits.


🔄 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/5755 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/4/2025 **Status:** ✅ Merged **Merged:** 11/4/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/sso` --- ### 📝 Commits (1) - [`f8edab2`](https://github.com/better-auth/better-auth/commit/f8edab22e1b658d3cb9fdac2bac9693dfe660bff) docs: add flag ### 📊 Changes **2 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/sso.mdx` (+3 -1) 📝 `packages/sso/src/index.ts` (+6 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add a security warning and clear guidance for the trustEmailVerified option in SSO docs and JSDoc. Explains takeover risk, when to enable, how to block new provider registration (e.g., disabledPaths), and how to allow safe account linking via accountLinking + trustedProviders. <sup>Written for commit f8edab22e1b658d3cb9fdac2bac9693dfe660bff. Summary will update automatically on new commits.</sup> <!-- 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-03-13 12:50:58 -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#6203