{"version":"2.1.328","anchor":"oauth-custom-client-and-scope-helpers","canonical_anchor":"oauth-custom-client-and-scope-helpers","heading":"Claude Code can tell when you sign in with a custom OAuth client","tier":"internal","area":"Auth","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/oauth-custom-client-and-scope-helpers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Claude Code can tell when you sign in with a custom OAuth client\n\nClaude Code now checks whether a non-default OAuth client ID is in use and whether your stored sign-in includes a given scope\n\n**Unclear.** What Claude Code does differently when it detects a custom client ID is not shown.\n\n**What**\n\nOAuth is the sign-in method Claude Code uses with your account. Claude Code now has two new checks:\n\n- Whether a custom OAuth client ID is in use, meaning the stored client ID or the `CLAUDE_CODE_OAUTH_CLIENT_ID` environment variable is set to something other than the default.\n\n- Whether your stored sign-in includes a particular scope (a permission the sign-in grants).\n\n**Why**\n\nThese checks let Claude Code treat a sign-in through a non-default OAuth client differently from the standard one.\n\n- Area: Auth\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: no"}