[PR #3969] [CLOSED] docs: authClient should not be used from a content script #30715

Closed
opened 2026-04-17 21:44:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3969
Author: @frectonz
Created: 8/13/2025
Status: Closed

Base: canaryHead: docs/auth-client-usage


📝 Commits (4)

  • a0a9fe3 docs: authClient should not be used from a content script
  • cfb7bb8 docs: sendMessage link
  • 166f436 docs: move call out warning to usage notes
  • b9cfbad docs: remove accordion

📊 Changes

1 file changed (+28 additions, -0 deletions)

View changed files

📝 docs/content/docs/guides/browser-extension-guide.mdx (+28 -0)

📄 Description

closes #3872


Summary by cubic

Added a warning to the browser extension guide explaining that authClient should not be used directly in content scripts, with recommendations for safer usage through background scripts.


🔄 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/3969 **Author:** [@frectonz](https://github.com/frectonz) **Created:** 8/13/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `docs/auth-client-usage` --- ### 📝 Commits (4) - [`a0a9fe3`](https://github.com/better-auth/better-auth/commit/a0a9fe3b86b86efe7569c1bb0e871e58d53f2058) docs: `authClient` should not be used from a content script - [`cfb7bb8`](https://github.com/better-auth/better-auth/commit/cfb7bb814a588cd153435a864fc814ee80e38196) docs: `sendMessage` link - [`166f436`](https://github.com/better-auth/better-auth/commit/166f4367313a2b5eb589ff1e5e837a46b26a3798) docs: move call out warning to usage notes - [`b9cfbad`](https://github.com/better-auth/better-auth/commit/b9cfbaddd61166be1c3b480bd29a799f14309264) docs: remove accordion ### 📊 Changes **1 file changed** (+28 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/guides/browser-extension-guide.mdx` (+28 -0) </details> ### 📄 Description closes #3872 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added a warning to the browser extension guide explaining that `authClient` should not be used directly in content scripts, with recommendations for safer usage through background scripts. <!-- 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-17 21:44:38 -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#30715