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.269 ·

OAuth callback state-mismatch no longer throws a CSRF error, just ignores the callback

A mismatched OAuth callback state no longer aborts login as a CSRF attack, it's just ignored now

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaAuthwhat it touches
KindBug Fixesin v2.1.269,
You'll notice

A mismatched OAuth callback state no longer aborts login as a CSRF attack, it's just ignored now

What

When logging in and manually pasting an OAuth callback URL, if its state parameter doesn't match the login attempt currently in progress, Claude Code used to immediately abort the whole login flow with an error calling it a possible CSRF attack (a type of forged-request attack). Now it logs a quieter debug message saying the callback belongs to a different flow and simply ignores it, continuing to wait for the correct callback instead of throwing an error.

Why

This avoids treating a mismatched callback, which can happen for benign reasons like multiple login attempts in flight, as a security attack that kills the whole login process. Login now continues waiting rather than failing outright in this situation.

See this entry in the whole of v2.1.269 →