Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

OAuth flows no longer retry after an explicit denial

Explicitly denying an OAuth prompt (MCP or device-flow) is now treated differently from a timeout, skipping the retry path

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindBug Fixesin v2.1.271,
Group of 2 You'll notice

Explicitly denying an OAuth prompt (MCP or device-flow) is now treated differently from a timeout, skipping the retry path

What

When you explicitly deny an OAuth authorization prompt, Claude Code now recognizes this as a deliberate choice rather than a failure. Previously, an explicit denial was handled the same way as a timeout or generic OAuth error, which triggered a retry/reset path (clearing stored client IDs and holding pending flow state). Now, error text matching OAuth error: access_denied is detected and excluded from that retry path.

  • This applies to the MCP OAuth flow.
  • This applies to the OAuth device-authorization flow.

Why

This avoids unnecessary retries or state resets when you've intentionally said no to an OAuth connection, rather than treating your denial like a transient network or timeout failure.

See this entry in the whole of v2.1.271 →