OAuth token validation now reports a specific failure reason instead of one generic error
When Claude Code checks your OAuth token (used for signing in) against the server, it used to fail with one generic error. Now the underlying check returns a structured result: either success with the validated data, or failure with a specific reason — one of unauthorized, forbidden, proxy, http_error, timeout, dns, connect, tls, or network_error — worked out from the actual HTTP status code or network error encountered.
This lets Claude Code (and anyone debugging a login problem) tell the difference between, say, a DNS lookup failure, a proxy issue, and an expired token, instead of seeing the same undifferentiated error for every kind of failure.