{"version":"2.1.331","anchor":"oauth-authorize-url-can-be-overridden-cloud-sessions-only-g","canonical_anchor":"oauth-authorize-url-can-be-overridden-cloud-sessions-only-g","heading":"The sign-in page address can be overridden, and logins carry a cloud-sessions-only option","tier":"use","area":"Auth","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/oauth-authorize-url-can-be-overridden-cloud-sessions-only-g","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### The sign-in page address can be overridden, and logins carry a cloud-sessions-only option\n\nA custom `oauthClient.authorizeUrl` now replaces the default sign-in page address, and logins pass a new cloud-sessions-only option\n\n**Unclear.** Where `oauthClient.authorizeUrl` is set, and what the cloud-sessions-only option will change, is not clear.\n\n**What**\n\nWhen you log in, Claude Code opens a sign-in page in your browser. Before, that page's address was always the fixed Claude.ai or Console one. A custom `oauthClient.authorizeUrl` now replaces it.\n\nSeveral of the login paths also pass a new option, `acceptsCloudSessionsOnlyGrant`. One of them always sets it to true. Going by its name, it concerns a login that grants access to cloud sessions only. The code that builds the sign-in address does not use it yet.\n\n**Why**\n\nThis looks like preparation for a more limited login that is only valid for cloud sessions.\n\n- Area: Auth\n- Names: `oauthClient.authorizeUrl`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}