{"version":"2.1.330","anchor":"console-sign-in-refused-when-managed-settings-forbid-a-saved","canonical_anchor":"forceloginmethod-now-enforced-with-console-sign-in-hints","heading":"Managed sign-in rules now apply to Console logins more strictly","tier":"notice","area":"Auth","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/console-sign-in-refused-when-managed-settings-forbid-a-saved","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Managed sign-in rules now apply to Console logins more strictly\n\n`forceLoginMethod` is enforced on its own, and a Console sign-in that would save an unusable API key is refused with logout advice\n\n**What**\n\nManaged settings are settings an organization sets centrally for everyone's Claude Code. Two changes affect signing in with Claude Console under those settings:\n\n- `forceLoginMethod` is now checked even when `forceLoginOrgUUID` is not set. Before, the check was skipped in that case. Messages for Console sign-ins now suggest `claude auth login --console`, and checking the organization no longer retries after a timeout.\n\n- If a Console sign-in would save an API key but Claude Code is set up to use a gateway, workload identity or a sign-in profile, it now stops with: \"This Console sign-in would save an API key, and Claude Code can't use one here. No API key was created.\" It suggests logging out first with `claude auth logout` or `ant auth logout`, then running `claude auth login --console`.\n\n**Why**\n\nAdmins who set only `forceLoginMethod` now have it enforced. Users on managed setups get a clear refusal and next steps instead of an API key being saved that Claude Code cannot use.\n\n- Area: Auth\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}