Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.268 ·

OAuth local-callback port selection now takes a configurable range/fallback and adds a last-resort ephemeral-port bind

OAuth login's local callback port picking is now configurable and adds a last-resort random free port

You'll notice Improvements
JSON All of v2.1.268
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.268,
ImprovementsSection of the release
What

When Claude Code logs in via OAuth, it opens a temporary local web server to receive the login callback and needs a free network port for it. The function that picks this port now takes a configurable range and fallback port instead of hardcoded values.

  • If no port in the configured range is free, and the fallback port is also taken, Claude Code now tries one more thing: asking the operating system to hand it any free port, before giving up.
Why

This makes OAuth login more resilient on machines where the usual port range or fallback port is already in use, reducing login failures due to port conflicts.

See this entry in the whole of v2.1.268 →

Feedback