{"name":"auth login","slug":"auth-login","family":"cli","title":"CLI flags","noun":"CLI flag","description":"New error message tells users when their organization can't be verified for their current auth token","description_source":"entry","described_by":{"version":"2.1.274","anchor":"new-auth-error-message-for-unverifiable-org-token"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.307","anchor":"auth-failure-message-always-names-claude-auth-login","heading":"Managed settings sign-in failure points you to claude auth login","line":"When managed settings fail to load because of a sign-in problem, the message tells you to run claude auth login to sign in again","released_at":"2026-10-21 20:47:18","reason":"named in this entry"},{"version":"2.1.307","anchor":"auto-update-disabled-message-and-login-hint-tweaks","heading":"Expired sign-in message no longer always opens with \"Run \/exit\"","line":"With `DISABLE_LOGIN_COMMAND` set, the expired claude.ai sign-in message now builds its opening sentence instead of always saying \"Run \/exit\"","released_at":"2026-10-21 20:47:18","reason":"named in this entry"},{"version":"2.1.305","anchor":"claude-auth-login-handles-no-callback-listener-headlessssh","heading":"claude auth login works when a browser cannot send the sign-in back","line":"If `claude auth login` cannot receive the browser's reply, it prints a sign-in link and waits for you to paste a code","released_at":"2026-10-20 19:29:36","reason":"named in this entry"},{"version":"2.1.305","anchor":"login-flow-ctrl-c-exits-with-code-130-and-stdin-listener-is","heading":"Cancelling claude auth login now exits with code 130","line":"Cancelling the login flow now exits with code 130 instead of 1, and other errors still exit with 1","released_at":"2026-10-20 19:29:36","reason":"named in this entry"},{"version":"2.1.304","anchor":"sign-in-rollback-messages-for-refused-logins","heading":"Claude Code now undoes a refused sign-in and restores your previous login","line":"When a sign-in is refused, Claude Code now restores your previous login and cancels the refused one, or asks you to sign in again","released_at":"2026-10-19 19:47:15","reason":"named in this entry"},{"version":"2.1.304","anchor":"managed-folder-check-on-policy-refresh-oauth-login-from-ref","heading":"Refresh-token login now saves your plan and rate-limit tier","line":"Logging in with `CLAUDE_CODE_OAUTH_REFRESH_TOKEN` now fetches your profile and saves your subscription type and rate-limit tier","released_at":"2026-10-19 19:47:15","reason":"named in this entry"},{"version":"2.1.304","anchor":"session-expired-message-for-claudeai-sign-in","heading":"Clearer message when a session's claude.ai sign-in stops working","line":"Claude Code now says when the claude.ai sign-in a session was using is no longer usable, and tells you which command to sign in again with","released_at":"2026-10-19 19:47:15","reason":"named in this entry"},{"version":"2.1.290","anchor":"cloud-session-auth-error-reworded-to-point-at-claude-auth-l","heading":"Cloud session sign-in error now tells you to run claude auth login","line":"The error for cloud sessions without a claude.ai sign-in is shorter and names the `claude auth login` command","released_at":"2026-10-05 18:12:44","reason":"named in this entry"},{"version":"2.1.280","anchor":"new-login-required-error-message-for-remote-control","heading":"New login-required error message for Remote Control","line":"New error message tells users without a claude.ai login that Remote Control requires signing in","released_at":"2026-09-22 15:44:39","reason":"named in this entry"},{"version":"2.1.274","anchor":"new-auth-error-message-for-unverifiable-org-token","heading":"New auth error message for unverifiable org token","line":"New error message tells users when their organization can't be verified for their current auth token","released_at":"2026-09-16 22:36:09","reason":"named in this entry"}],"entries_total":10,"docs":[{"source":"api","path":"api\/beta\/organization","title":"Organization","documented":false},{"source":"api","path":"api\/beta\/organization\/federation","title":"Federation","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/issuers","title":"Issuers","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/issuers\/archive","title":"Archive Federation Issuer","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/issuers\/create","title":"Create Federation Issuer","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/issuers\/list","title":"List Federation Issuers","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/issuers\/retrieve","title":"Get Federation Issuer","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/issuers\/update","title":"Update Federation Issuer","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/rules","title":"Rules","documented":false},{"source":"api","path":"api\/beta\/organization\/federation\/rules\/archive","title":"Archive Federation Rule","documented":false}],"docs_total":12,"gates":[],"related":[{"name":"auth logout","slug":"auth-logout","description":"When fetching managed settings fails but saved restrictions still apply, Claude Code now says so and tells you to run `claude auth logout` to clear them"},{"name":"auth status","slug":"auth-status","description":"Some auth and auto subcommands moved to a different command object with unchanged behaviour."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/auth-login","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}