From e19ee4db43d9740e86c42bffece0f0ae87e51692 Mon Sep 17 00:00:00 2001 From: Gautam Manchandani Date: Tue, 6 Jan 2026 10:23:06 +0530 Subject: [PATCH] docs: add bearer plugin requirement note to device auth docs (#6351) Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com> Co-authored-by: Taesu --- docs/content/docs/plugins/device-authorization.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/docs/plugins/device-authorization.mdx b/docs/content/docs/plugins/device-authorization.mdx index 044c9ec180..27e6681015 100644 --- a/docs/content/docs/plugins/device-authorization.mdx +++ b/docs/content/docs/plugins/device-authorization.mdx @@ -416,6 +416,10 @@ The device flow defines specific error codes: Here's a complete example for a CLI application based on the actual demo: + + To use the access token for API requests, ensure you have added the [Bearer plugin](/docs/plugins/bearer) to your auth instance. + + ```ts title="cli-auth.ts" import { createAuthClient } from "better-auth/client"; import { deviceAuthorizationClient } from "better-auth/client/plugins";