Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.305 ·

Sign-in falls back to pasting a code when the local listener cannot start

If Claude Code cannot open its local sign-in listener, login now shows a URL and asks you to paste the code instead of failing

Group of 4 Use it now Improvements
JSON All of v2.1.305
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.305,
What probably matters to youSection of the release

Unclear Which login flows, if any, ask for the extra scope is not known.

What

When you sign in, Claude Code normally starts a small local listener that receives the result from your browser. If that listener could not start, login failed.

  • Now login continues with a manual URL and asks you to paste the code shown after signing in, at the prompt "Paste code here > ".
  • The login screen says "Use the URL below to sign in" instead of "Browser didn't open? Use the url below to sign in".
  • claude auth login in a terminal prints "Sign in at:" with the URL and waits for the code; Ctrl-D closes the prompt and stops the login.
  • Running out of file handles (EMFILE or ENFILE) still stops login with an error.
  • If the fallback cannot be used, you see "Couldn't start the local listener that receives the browser sign-in. Try again." with " Run with --debug for the underlying error." added.
  • Separately, the sign-in URL builder can add one extra permission scope through a new alsoRequestScope option; no caller was found using it.

Why

Login can work on headless or remote machines and where the local port is blocked, and failures point you to --debug.

Read from
Names in the bundle--debug
What the documentation says
--debug Claude Code changelog modified, high confidence * Fixed `claude --help` text for `--tools`, `--resume`, `--debug`, `--json-schema`, `--disable-slash-commands`, `--system-prompt-snapshot` and `claude update` to match actual behavior see the edit
--debug Continue local sessions from any device with Remote Control modified, high confidence | `-d`, `--debug[=<filter>]` | Turn on debug logging for the server, optionally filtered by category. Pass a filter only in the `=` form, such as `--debug=api,hooks`. Requires Claude Code v2.1.282 or later. | see the edit
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --debug, on using. | `--debug` | Print full HTTP request and response to stderr | cli-sdks-libraries/cli/using see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich login flows, if any, ask for the extra scope is not known.
Anthropic's documentation agrees--debug on Claude Code changelog

See this entry in the whole of v2.1.305 →

Feedback