{"version":"2.1.328","anchor":"host-auth-seed-with-claude-code-host-auth-ask-at-start-now-t","canonical_anchor":"host-auth-seed-with-claude-code-host-auth-ask-at-start-now-t","heading":"Empty credential variables no longer count as set unless you opt in","tier":"notice","area":"Auth","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/host-auth-seed-with-claude-code-host-auth-ask-at-start-now-t","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Empty credential variables no longer count as set unless you opt in\n\nWith `CLAUDE_CODE_HOST_AUTH_ASK_AT_START` off, an empty credential variable passed at launch is now treated as not set\n\n**What**\n\nThe program that starts Claude Code can hand it credentials, either through an environment variable (a named setting passed to a program when it starts) or through a file. Claude Code now treats an empty value for that variable differently depending on `CLAUDE_CODE_HOST_AUTH_ASK_AT_START`:\n\n- With `CLAUDE_CODE_HOST_AUTH_ASK_AT_START` set, an empty value still counts as set.\n\n- Without it, an empty value now counts as not set, so Claude Code can use credentials from the file instead.\n\nWhen the file points at a different service address than the one already given at launch, Claude Code keeps the launch value and shows a warning, as before. It now also notes whether that kept value is empty.\n\n**Why**\n\nIf something launches Claude Code with an empty credential variable, the result may now differ, depending on whether `CLAUDE_CODE_HOST_AUTH_ASK_AT_START` is set.\n\n- Area: Auth\n- Names: `CLAUDE_CODE_HOST_AUTH_ASK_AT_START`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: yes"}