Skip to content

Fix stale Codex auth reuse in embedded CLIProxy#31

Merged
RussellLuo merged 2 commits into
OpenCSGs:mainfrom
xxx7xxxx:dev
May 8, 2026
Merged

Fix stale Codex auth reuse in embedded CLIProxy#31
RussellLuo merged 2 commits into
OpenCSGs:mainfrom
xxx7xxxx:dev

Conversation

@xxx7xxxx
Copy link
Copy Markdown
Collaborator

@xxx7xxxx xxx7xxxx commented May 8, 2026

Summary

  • Refreshes Codex provider auth from ~/.codex/auth.json before reusing existing CLIProxy auth records.
  • Preserves newer CLIProxy auth when it is fresher than Codex home auth.
  • Extracts JWT expiry during Codex auth import so CLIProxy can refresh tokens before requests hit 401.
  • Stabilizes an async serve test that waited for browser fallback before the fallback hint was printed.

@xxx7xxxx xxx7xxxx requested a review from RussellLuo May 8, 2026 03:57
@RussellLuo RussellLuo merged commit acf523a into OpenCSGs:main May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants