Files
CLIProxyAPI/internal/auth
Luis Pater c163bae4bc fix(auth): preserve terminal unauthorized state and prevent unsafe refresh retry
- Avoid retrying Claude token refresh on ambiguous transport or decoding errors to protect single-use tokens
- Block selection and unschedule refresh for credentials when both access token is rejected and refresh encounters `invalid_grant`
- Prevent in-flight request completions or cooldown clears from reviving terminal unauthorized credentials
- Allow manual force refresh to bypass terminal unauthorized checks

Closes: #6288
2026-10-03 03:19:06 +08:00
..
…