mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-27 01:16:55 -05:00
docs: improve bearer plugin warning callout grammar (#1295)
This commit is contained in:
@@ -6,7 +6,7 @@ description: Authenticate API requests using Bearer tokens instead of browser co
|
||||
The Bearer plugin enables authentication using Bearer tokens as an alternative to browser cookies. It intercepts requests, adding the Bearer token to the Authorization header before forwarding them to your API.
|
||||
|
||||
<Callout type="warn">
|
||||
Use this cautiously, only intended for APIs that doesn't support cookies or require Bearer tokens for authentication. This could easily lead to security vulnerabilities if not implemented correctly.
|
||||
Use this cautiously; it is intended only for APIs that don't support cookies or require Bearer tokens for authentication. Improper implementation could easily lead to security vulnerabilities.
|
||||
</Callout>
|
||||
|
||||
## Installing the Bearer Plugin
|
||||
@@ -136,4 +136,4 @@ export async function handler(req, res) {
|
||||
|
||||
## Options
|
||||
|
||||
**requireSignature** (boolean): Require the token to be signed. Default: `false`.
|
||||
**requireSignature** (boolean): Require the token to be signed. Default: `false`.
|
||||
|
||||
Reference in New Issue
Block a user