mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
- Transitioned OAuth callback handling from temporary servers to predefined persistent endpoints. - Simplified token retrieval by replacing in-memory handling with state-file-based persistence. - Introduced unified `oauthStatus` map for tracking flow progress and errors. - Added new `/auth/*/callback` routes, streamlining code and state management for OAuth flows. - Improved error handling and logging in token exchange and callback flows.