{"name":"forceLoginOrgUUID","slug":"forceloginorguuid","family":"setting","title":"Settings keys","noun":"settings key","description":"[Pin claude.ai logins to your organization](\/docs\/en\/authentication.md#restrict-login-to-your-organization); only a managed source enforces it","description_source":"docs","described_by":{"doc":"claude-code\/settings-reference","title":"All settings"},"presence":{"first_seen":"2.1.138","removed_in":"2.1.284","in_current_build":false,"newest_mined":"2.1.308","builds":126,"mined_builds":149,"first_cited":{"version":"2.1.223","released_at":"2026-08-05 22:51:13","spans":4}},"aliases":[],"entries":[{"version":"2.1.307","anchor":"org-pin-check-accepts-a-desktop-app-provided-sign-in","heading":"Organization sign-in rules now cover sign-ins from the desktop app","line":"When `forceLoginOrgUUID` pins an organization, Claude Code now also checks a sign-in provided by the desktop app","released_at":"2026-10-21 20:47:18","reason":"named in this entry, found in this entry's text"},{"version":"2.1.300","anchor":"oauth-login-paths-gain-an-org-pin-verification-step-before-c","heading":"Login now checks your organisation before saving new credentials","line":"Signing in now checks the new token against the organisation required by managed settings before saving it, and fails if it does not match","released_at":"2026-10-14 14:27:26","reason":"found in this entry's text, named in this entry"},{"version":"2.1.300","anchor":"forceloginorguuid-check-refactored-with-a-reusable-verifier","heading":"Organization login check fetches your profile less often","line":"The check that you signed in to your required organization now reuses an organization ID already fetched instead of fetching your profile again","released_at":"2026-10-14 14:27:26","reason":"found in this entry's text, named in this entry"},{"version":"2.1.299","anchor":"machine-admin-policy-can-pin-the-sign-in-org","heading":"Machine policy can now be checked for a pinned sign-in organisation","line":"Claude Code can now read the machine's admin policy to see whether it pins sign-in to an organisation with `forceLoginOrgUUID`","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"server-policy-forcelogin-settings-take-precedence-over-serve","heading":"Locally managed login restrictions now take priority over server-managed settings","line":"forceLoginOrgUUID and forceLoginMethod set through MDM or a managed file now apply ahead of server-managed settings","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"stored-remote-settings-copy-must-pass-a-trust-gate-sync-sta","heading":"The saved copy of managed settings is checked before it is used","line":"Claude Code now ignores its saved copy of organization-managed settings unless it matches the account and organization it is pinned to","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text, named in this entry"},{"version":"2.1.290","anchor":"existing-sign-in-detection-helper","heading":"Claude Code can detect an existing sign-in from token variables","line":"A new check finds out whether a usable sign-in already exists, for example from `CLAUDE_CODE_OAUTH_TOKEN`","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.284","anchor":"detailed-error-when-managed-login-policy-conflicts-with-an-a","heading":"Clearer error when a managed login policy clashes with your API key or token","line":"When managed settings require a specific sign-in but another credential is set, the error names that credential, where it came from, and how to fix it","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"managed-config-forceloginorguuid-validation-new-disablemul","heading":"Managed config: forceLoginOrgUUID validation, new disableMultiAccount, microsoftAuthBroker 'required'","line":"Managed settings now check that `forceLoginOrgUUID` is a UUID or a list of UUIDs, and add `disableMultiAccount` and a `required` value for `microsoftAuthBroker`","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.268","anchor":"new-managed-settings-key-gatewayinternalnetworks-joins-highe","heading":"New managed-settings key gatewayInternalNetworks joins highest-source-wins auth pins","line":"New managed setting gatewayInternalNetworks joins the group taken only from the top-priority settings source","released_at":"2026-09-10 18:41:11","reason":"found in this entry's text"}],"entries_total":14,"docs":[{"source":"claude-code","path":"settings-reference","title":"All settings","documented":true},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":true},{"source":"claude-code","path":"admin-setup","title":"Set up Claude Code for your organization","documented":false},{"source":"claude-code","path":"authentication","title":"Authentication","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"claude-apps-gateway","title":"Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry","documented":false},{"source":"claude-code","path":"claude-apps-gateway-config","title":"Claude apps gateway configuration","documented":false},{"source":"claude-code","path":"errors","title":"Error reference","documented":false},{"source":"claude-code","path":"hipaa-setup","title":"Set up Claude Code (local mode) for a HIPAA-ready organization","documented":false},{"source":"claude-code","path":"llm-gateway-connect","title":"Connect Claude Code to an LLM gateway","documented":false}],"docs_total":14,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/forceloginorguuid","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}