{"version":"2.1.124","anchor":"better-oauth-disabled-by-org-error","canonical_anchor":"better-oauth-disabled-by-org-error","heading":"Better OAuth-disabled-by-org error","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.124\/e\/better-oauth-disabled-by-org-error","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.124","markdown":"### Better OAuth-disabled-by-org error\n\n**What**\n\nWhen OAuth login is disallowed at the organization level, Claude now produces a dedicated error (`oauth_org_not_allowed`) and a clearer user-facing message instead of treating it as a generic auth failure.\n\n**Details**\n\n- Long form (login screens, Web UI): `Your organization has disabled Claude subscription access for Claude Code \u00b7 Use an Anthropic API key instead, or ask your admin to enable access`.\n- Short form (status indicators \/ logs): `org disabled OAuth \u2014 use API key or ask admin`.\n- The error is plumbed through both the autonomous-progress state machine and the `terminate_reason` enum.\n\n**Evidence**\n\nNew error code (search for `\"oauth_org_not_allowed\"` and `\"Your organization has disabled Claude subscription access for Claude Code\"`)."}