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";