{"name":"allowedProviders","slug":"allowedproviders","family":"setting","title":"Settings keys","noun":"settings key","description":"The new managed setting `allowedProviders` lists the API providers allowed, and Claude Code refuses to run on any other","description_source":"entry","described_by":{"version":"2.1.285","anchor":"allowedproviders-managed-setting-restricts-which-api-provide"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.285","builds":0,"mined_builds":128,"first_cited":{"version":"2.1.285","released_at":"2026-09-29 17:32:09","spans":6}},"aliases":[],"entries":[{"version":"2.1.285","anchor":"allowedproviders-managed-setting-restricts-which-api-provide","heading":"Admins can limit which API providers Claude Code may use","line":"The new managed setting `allowedProviders` lists the API providers allowed, and Claude Code refuses to run on any other","released_at":"2026-09-29 17:32:09","reason":"named in this entry, found in this entry's text"},{"version":"2.1.285","anchor":"allowedproviders-policy-enforced-on-login-and-setup-token","heading":"Admins can restrict sign-in providers with a new allowedProviders setting","line":"A new `allowedProviders` managed setting can block `claude auth login` and `setup-token` when the policy disallows Anthropic's own sign-in","released_at":"2026-09-29 17:32:09","reason":"named in this entry, found in this entry's text"},{"version":"2.1.285","anchor":"managed-policy-read-failure-message","heading":"Clear error when managed policy settings cannot be read","line":"Claude Code has a new error saying it could not read managed policy settings, which may restrict allowed API providers","released_at":"2026-09-29 17:32:09","reason":"named in this entry, found in this entry's text"},{"version":"2.1.285","anchor":"login-screen-honours-allowedproviders-managed-setting","heading":"Login screen shows only the sign-in methods your organization allows","line":"The login screen now follows the allowedProviders managed setting, hiding sign-in options your organization does not permit","released_at":"2026-09-29 17:32:09","reason":"named in this entry, found in this entry's text"},{"version":"2.1.285","anchor":"wide-ranging-desktop-option-rejects-subcommands-claude","heading":"--desktop rejects subcommands, and SDK sign-in checks allowed providers","line":"Claude Code refuses --desktop alongside a subcommand, and blocks SDK sign-in when managed settings do not allow the Anthropic API","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"claude-authenticate-joins-an-in-flight-oauth-flow-and-enfo","heading":"Repeated login requests reuse the sign-in already in progress, and admins can block login","line":"A second login request now joins the sign-in already underway, and the allowedProviders managed setting can block signing in","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"managed-settings-helper-merge-doc-allowedproviders-is-a-w","heading":"Managed settings docs: allowedProviders is replaced, not merged","line":"The settings description now says allowedProviders, like the other restriction allowlists, is taken whole from the helper and not merged","released_at":"2026-09-29 17:32:09","reason":"named in this entry, found in this entry's text"},{"version":"2.1.285","anchor":"settings-validation-for-allowedproviders","heading":"Mistakes in the allowedProviders setting are now reported as errors","line":"Claude Code now reports an error when `allowedProviders` is not a list, holds non-text entries, or names a provider it does not know","released_at":"2026-09-29 17:32:09","reason":"named in this entry, found in this entry's text"},{"version":"2.1.285","anchor":"provider-not-allowed-startup-refusal","heading":"Admins can restrict which API providers Claude Code may use","line":"Claude Code can refuse to start with `provider_not_allowed` when managed settings limit providers with `allowedProviders`","released_at":"2026-09-29 17:32:09","reason":"named in this entry, found in this entry's text"}],"entries_total":9,"docs":[{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false}],"docs_total":1,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/allowedproviders","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}