Bug Fixes
OAuth Authentication Race Condition
Fixed an issue where users would see "auth successfully" in their browser after OAuth, but ProxyPal wouldn't update to show the new logged-in account.
Root cause: CLIProxyAPI returns success status before the credential file is fully written to disk. When ProxyPal immediately scanned for auth files, it sometimes missed the new file.
Fix:
- Added 500ms delay after OAuth poll success before scanning auth files
- Added retry logic (up to 3 attempts with 500ms intervals) if the auth count doesn't increase
- Applied to both initial OAuth flow and "already authorized" reconnection flow
This fix improves reliability for all OAuth providers (Claude, Gemini, ChatGPT, Qwen, iFlow, Vertex, Antigravity).
CLIProxyAPI v6.6.81 Compatibility
This release is compatible with CLIProxyAPI v6.6.81 which includes:
- Model aliasing with Fork option: New
fork: trueconfig flag in OAuth model mappings that keeps both original model AND adds an alias - Token refresh timeout improvements: Better context handling during token refresh operations
- Claude-to-OpenAI streaming fix: Adjusted
message_deltaemission boundary in response translation
These are backend improvements in CLIProxyAPI - no ProxyPal UI changes required.