[PR #6591] [MERGED] docs(bearer): explain bearer requests requirements better #23666

Closed
opened 2026-04-15 21:53:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6591
Author: @ping-maxwell
Created: 12/7/2025
Status: Merged
Merged: 12/7/2025
Merged by: @Bekacru

Base: canaryHead: docs/bearer/explain-bearer-requests-requirements-better


📝 Commits (1)

  • 22adece docs(bearer): explain bearer requests requirements better

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 docs/content/docs/plugins/bearer.mdx (+4 -1)

📄 Description

Summary by cubic

Clarified Bearer plugin docs to state that server-side authentication with auth.api.getSession requires the Authorization: Bearer token header. Updated the server example to highlight passing req.headers and the header requirement.

Written for commit 22adecee0d. 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/6591 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 12/7/2025 **Status:** ✅ Merged **Merged:** 12/7/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/bearer/explain-bearer-requests-requirements-better` --- ### 📝 Commits (1) - [`22adece`](https://github.com/better-auth/better-auth/commit/22adecee0defb04f1701791d474ed08c976e1d4a) docs(bearer): explain bearer requests requirements better ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/bearer.mdx` (+4 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Clarified Bearer plugin docs to state that server-side authentication with auth.api.getSession requires the Authorization: Bearer token header. Updated the server example to highlight passing req.headers and the header requirement. <sup>Written for commit 22adecee0defb04f1701791d474ed08c976e1d4a. 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-04-15 21:53:56 -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#23666