mirror of
https://github.com/openai/codex.git
synced 2026-11-08 20:40:33 +00:00
Restore stored-token bearer fallback by probing OAuth metadata through the injected runtime HTTP client before creating the OAuth transport. Also broaden discovery to OpenID Connect and protected-resource metadata paths, and avoid writing stale refresh results over newer in-memory credentials. Co-authored-by: Codex <noreply@openai.com>