{"version":"2.1.331","anchor":"host-auth-fallback-in-session-authorize","canonical_anchor":"host-auth-fallback-in-session-authorize","heading":"Session sign-in tries a fallback credential when no API key is found","tier":"notice","area":"Auth","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/host-auth-fallback-in-session-authorize","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Session sign-in tries a fallback credential when no API key is found\n\nWhen a session finds no API key, Claude Code now tries a fallback credential instead of failing straight away\n\n**Unclear.** Which credential Claude Code falls back to is not stated.\n\n**What**\n\nBefore a session (one running conversation with Claude Code) can start, it has to authorize, which means prove it is allowed to use your account. When that step fails because no API key was found, Claude Code now tries a fallback credential instead of failing at once.\n\nThis only happens when no host authentication is set up, such as a unix socket (a local connection to another program) or a host authentication environment variable.\n\n**Why**\n\nThis changes how sign-in works for sessions run by another program, such as a hosted setup or the Claude Code SDK, where there is no API key of Claude Code's own.\n\n- Area: Auth\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}