Authentication changedauthentication
Nearest release: v2.1.283, published 2 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 25 Sep 2026 21:21 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 25 Sep 2026 21:37 UTC.
Upstream edited
Recorded here
Lines+19added
Lines−3removed
From line
251
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 251, old and new numbered
/
from line 251
251251
252252The command opens the same browser authorization flow as `/login`, and the token prints to the terminal after you approve access in the browser. It does not save the token anywhere; copy it and set it as the `CLAUDE_CODE_OAUTH_TOKEN` environment variable wherever you want to authenticate:
253253
254```bash theme={null}
255export CLAUDE_CODE_OAUTH_TOKEN=your-token
256```
254<Tabs>
255 <Tab title="macOS, Linux, WSL">
256 ```bash theme={null}
257 export CLAUDE_CODE_OAUTH_TOKEN=your-token
258 ```
259 </Tab>
260
261 <Tab title="Windows PowerShell">
262 ```powershell theme={null}
263 $env:CLAUDE_CODE_OAUTH_TOKEN = "your-token"
264 ```
265 </Tab>
266
267 <Tab title="Windows CMD">
268 ```batch theme={null}
269 set CLAUDE_CODE_OAUTH_TOKEN=your-token
270 ```
271 </Tab>
272</Tabs>
257273
258274This token authenticates with your Claude subscription and requires a Pro, Max, Team, or Enterprise plan. It can only make model requests, so it can't establish [Remote Control](/docs/en/remote-control) sessions or fetch [claude.ai connectors](/docs/en/mcp#use-mcp-servers-from-claude-ai). MCP servers you configure locally still work.
259275
No line in this hunk matches that.