Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Authentication changedauthentication

Upstream edited this page at 11 Oct 2026 22:34 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 20 Oct 2026 18:37 UTC.

Upstream edited
Recorded here
Lines+65added
Lines−73removed
From line 56 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits26to this page, all time

The whole hunk

from line 56, old and new numbered
/
lines
from line 56
5656* **Claude for Teams**: self-service plan with collaboration features, admin tools, SSO, billing management, and [server-managed settings](/docs/en/server-managed-settings) for organization-wide Claude Code configuration. Best for smaller teams.
5757* **Claude for Enterprise**: adds domain capture, role-based permissions, and the compliance API. Best for larger organizations with security and compliance requirements.
5858 
59<Steps>
60 <Step title="Subscribe">
61 Subscribe to [Claude for Teams](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=authentication_teams_step#team-&-enterprise) or contact sales for [Claude for Enterprise](https://anthropic.com/contact-sales?utm_source=claude_code\&utm_medium=docs\&utm_content=authentication_enterprise_step).
62 </Step>
59**1. Subscribe**
6360 
64 <Step title="Invite team members">
65 Invite team members from the admin dashboard.
66 </Step>
61Subscribe to [Claude for Teams](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=authentication_teams_step#team-&-enterprise) or contact sales for [Claude for Enterprise](https://anthropic.com/contact-sales?utm_source=claude_code\&utm_medium=docs\&utm_content=authentication_enterprise_step).
6762 
68 <Step title="Install and log in">
69 Team members install Claude Code and log in with their claude.ai accounts.
70 </Step>
71</Steps>
63**2. Invite team members**
7264 
65Invite team members from the admin dashboard.
66 
67**3. Install and log in**
68 
69Team members install Claude Code and log in with their claude.ai accounts.
70 
7371### Claude Console authentication
7472 
7573For organizations that prefer API-based billing, you can set up access through the Claude Console.
7674 
77<Steps>
78 <Step title="Create or use a Console account">
79 Use your existing Claude Console account or create a new one.
80 </Step>
75**1. Create or use a Console account**
8176 
82 <Step title="Add users">
83 You can add users through either method:
77Use your existing Claude Console account or create a new one.
8478 
85 * Bulk invite users from the Console's Members page at [platform.claude.com/settings/members](https://platform.claude.com/settings/members): click **Invite**
86 * [Set up SSO](https://support.claude.com/en/articles/13132885-setting-up-single-sign-on-sso)
87 </Step>
79**2. Add users**
8880 
89 <Step title="Assign roles">
90 When inviting users, assign one of:
81You can add users through either method:
9182 
92 * **Claude Code** role: users can only create Claude Code API keys
93 * **Developer** role: users can create any kind of API key
94 </Step>
83* Bulk invite users from the Console's Members page at [platform.claude.com/settings/members](https://platform.claude.com/settings/members): click **Invite**
84* [Set up SSO](https://support.claude.com/en/articles/13132885-setting-up-single-sign-on-sso)
9585 
96 <Step title="Users complete setup">
97 Each invited user needs to:
86**3. Assign roles**
9887 
99 * Accept the Console invite
100 * [Check system requirements](/docs/en/setup#system-requirements)
101 * [Install Claude Code](/docs/en/setup#install-claude-code)
102 * Log in with Console account credentials
103 </Step>
104</Steps>
88When inviting users, assign one of:
10589 
90* **Claude Code** role: users can only create Claude Code API keys
91* **Developer** role: users can create any kind of API key
92 
93**4. Users complete setup**
94 
95Each invited user needs to:
96 
97* Accept the Console invite
98* [Check system requirements](/docs/en/setup#system-requirements)
99* [Install Claude Code](/docs/en/setup#install-claude-code)
100* Log in with Console account credentials
101 
106102#### Sign in without an API key
107103 
108104You can sign in to your Console account without creating an API key, even when your organization doesn't let developers create them. Choose the Anthropic Console account at the `/login` prompt and Claude Code asks how you want to sign in. Requires Claude Code v2.1.242 or later. Both routes sign you in to Console in the browser and differ in what Claude Code stores afterwards:
from line 128
132128 
133129For teams using Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry:
134130 
135<Steps>
136 <Step title="Follow provider setup">
137 Follow the [Amazon Bedrock docs](/docs/en/amazon-bedrock), [Google Cloud's Agent Platform docs](/docs/en/google-vertex-ai), or [Microsoft Foundry docs](/docs/en/microsoft-foundry).
138 </Step>
131**1. Follow provider setup**
139132 
140 <Step title="Distribute configuration">
141 Distribute the environment variables and instructions for generating cloud credentials to your users. Read more about how to [manage configuration here](/docs/en/settings).
142 </Step>
133Follow the [Amazon Bedrock docs](/docs/en/amazon-bedrock), [Google Cloud's Agent Platform docs](/docs/en/google-vertex-ai), or [Microsoft Foundry docs](/docs/en/microsoft-foundry).
143134 
144 <Step title="Install Claude Code">
145 Users can [install Claude Code](/docs/en/setup#install-claude-code).
146 </Step>
147</Steps>
135**2. Distribute configuration**
148136 
137Distribute the environment variables and instructions for generating cloud credentials to your users. Read more about how to [manage configuration here](/docs/en/settings).
138 
139**3. Install Claude Code**
140 
141Users can [install Claude Code](/docs/en/setup#install-claude-code).
142 
149143### Restrict login to your organization
150144 
151145To require that developers' claude.ai logins belong to a specific Anthropic organization, set [`forceLoginMethod`](/docs/en/settings-reference#forceloginmethod) and [`forceLoginOrgUUID`](/docs/en/settings-reference#forceloginorguuid) in [managed settings](/docs/en/managed-settings). Set `forceLoginOrgUUID` to your organization ID, shown in [claude.ai admin settings](https://claude.ai/admin-settings/organization) for Claude for Teams or Enterprise organizations. Claude Code reports an error for a claude.ai login to any other organization and exits at startup if the claude.ai credential in use belongs to an organization that isn't listed.
from line 273
279273 
280274The 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:
281275 
282<Tabs>
283 <Tab title="macOS, Linux, WSL">
284 ```bash theme={null}
285 export CLAUDE_CODE_OAUTH_TOKEN=your-token
286 ```
287 </Tab>
276**macOS, Linux, WSL**
288277 
289 <Tab title="Windows PowerShell">
290 ```powershell theme={null}
291 $env:CLAUDE_CODE_OAUTH_TOKEN = "your-token"
292 ```
293 </Tab>
278```bash theme={null}
279export CLAUDE_CODE_OAUTH_TOKEN=your-token
280```
294281 
295 <Tab title="Windows CMD">
296 ```batch theme={null}
297 set CLAUDE_CODE_OAUTH_TOKEN=your-token
298 ```
299 </Tab>
300</Tabs>
282**Windows PowerShell**
283 
284```powershell theme={null}
285$env:CLAUDE_CODE_OAUTH_TOKEN = "your-token"
286```
287 
288**Windows CMD**
289 
290```batch theme={null}
291set CLAUDE_CODE_OAUTH_TOKEN=your-token
292```
301293 
302294This 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.
303295 
Feedback