[PR #3808] [CLOSED] docs: add warning in security #5018

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3808
Author: @ping-maxwell
Created: 8/5/2025
Status: Closed

Base: canaryHead: docs/security/trustedorigins-warning


📝 Commits (8)

  • 517a5e7 docs: add warning in security
  • d5e05be Merge branch 'main' into docs/security/trustedorigins-warning
  • f2c686a chore: lint
  • 4a1910d Merge branch 'canary' into docs/security/trustedorigins-warning
  • 00a4a29 Merge branch 'canary' into docs/security/trustedorigins-warning
  • baf2877 Merge branch 'canary' into docs/security/trustedorigins-warning
  • aaeab1d Merge branch 'canary' into docs/security/trustedorigins-warning
  • b818c6d Merge branch 'canary' into docs/security/trustedorigins-warning

📊 Changes

3 files changed (+14 additions, -1 deletions)

View changed files

.changeset/old-planets-camp.md (+5 -0)
📝 docs/content/docs/reference/security.mdx (+4 -1)
📝 packages/better-auth/src/plugins/organization/organization.test.ts (+5 -0)

📄 Description

image

Summary by cubic

Added a warning in the security docs to avoid localhost in trusted origins for production. Fixed incorrect org slug lookup in the organization plugin and added a test for active member role.

Written for commit b818c6d4a4. Summary will update 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/3808 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 8/5/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `docs/security/trustedorigins-warning` --- ### 📝 Commits (8) - [`517a5e7`](https://github.com/better-auth/better-auth/commit/517a5e754365e71a6c9e77a44cd084f7e9ad71db) docs: add warning in security - [`d5e05be`](https://github.com/better-auth/better-auth/commit/d5e05bebc9d225ce2a2d8e807d73103181823640) Merge branch 'main' into docs/security/trustedorigins-warning - [`f2c686a`](https://github.com/better-auth/better-auth/commit/f2c686a8fe438bf5e27535d3a030294748b717cf) chore: lint - [`4a1910d`](https://github.com/better-auth/better-auth/commit/4a1910dfe2b593f1a54e0bda8a10f2a5306ec0fa) Merge branch 'canary' into docs/security/trustedorigins-warning - [`00a4a29`](https://github.com/better-auth/better-auth/commit/00a4a290ac57bf97718b9f65613efca027932d0f) Merge branch 'canary' into docs/security/trustedorigins-warning - [`baf2877`](https://github.com/better-auth/better-auth/commit/baf28775f2471ad5c95a930095c85f5249059227) Merge branch 'canary' into docs/security/trustedorigins-warning - [`aaeab1d`](https://github.com/better-auth/better-auth/commit/aaeab1d3437140c2d62c482facb59f5e17a14b5e) Merge branch 'canary' into docs/security/trustedorigins-warning - [`b818c6d`](https://github.com/better-auth/better-auth/commit/b818c6d4a4da4dcdba86cd03d9437b5002d298c3) Merge branch 'canary' into docs/security/trustedorigins-warning ### 📊 Changes **3 files changed** (+14 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/old-planets-camp.md` (+5 -0) 📝 `docs/content/docs/reference/security.mdx` (+4 -1) 📝 `packages/better-auth/src/plugins/organization/organization.test.ts` (+5 -0) </details> ### 📄 Description <img width="844" height="676" alt="image" src="https://github.com/user-attachments/assets/081cca00-c510-496e-8814-3128fa3f77a9" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added a warning in the security docs to avoid localhost in trusted origins for production. Fixed incorrect org slug lookup in the organization plugin and added a test for active member role. <sup>Written for commit b818c6d4a4da4dcdba86cd03d9437b5002d298c3. Summary will update 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:07:53 -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#5018