What
Several messages about signing in to Claude Code were reworded.
- Messages that used to tell you to run
claude loginnow sayclaude auth login. This covers the self-hosted tool description and another tool description, the error shown when you try local OAuth (the sign-in flow run on your own computer) on an Anthropic-hosted MCP connector, the note on authentication errors that tells you to refresh your session or check thatANTHROPIC_BASE_URLmatches your login environment, the not-logged-in message for environment-management endpoints, and the message shown when a service authenticates with your Claude login. - The Console sign-in message wording changed, now using "cannot" and "do not".
- A new message appears when your sign-in token belongs to a different organization than the machine requires: "Your authentication token belongs to organization …, but this machine requires …". It says no API key was created and suggests running
claude auth login. When a Console organization is involved, it says: "If this is your company's Console organization, ask your admin to add it to forceLoginOrgUUID."forceLoginOrgUUIDis a managed setting, one set by an organization's administrator, that pins claude.ai logins to that organization. - The enterprise sign-in refusal now begins "This sign-in wasn't saved." instead of ending with "This sign-in was not saved." It now says Claude Code needs to restart to use the sign-in, and it can include an extra hint for the current session.
Why
The messages now name the current sign-in command. If your organization pins logins with forceLoginOrgUUID, a sign-in that is refused for belonging to the wrong organization now tells you what happened and what to do next.
Names in the bundleforceLoginOrgUUID
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up forceLoginOrgUUID, on Desktop application.
If you set `forceLoginMethod` to `"console"` in Claude Code's [managed settings](https://code.claude.com/docs/en/managed-settings.md), people can still run local Code tab sessions with a claude.ai account. If you set `forceLoginOrgUUID` th…desktop see the edit
Added since
A small documentation edit on How Claude Code in the terminal applies your console settings touched a line naming forceLoginOrgUUID after this was published.
* **Signs in to another organization that's set up this way, on a computer with no managed settings**: the other organization's settings, including its OpenTelemetry collector, apply instead of your organization's settings. `forceLoginOrgU…third-party/claude-desktop/admin-console-claude-code-reference see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
A small documentation edit on How Claude Code in the terminal applies your console settings touched a line naming forceLoginOrgUUID after…