mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why The sample hardcoded file-based credential storage and omitted configured auth routing and login restrictions. It should use the configured credentials, including secure storage in `cargo run` builds. ## What changed - Load authentication settings through the shared bootstrap path and re-export the required helpers and types from `codex-core-api`. - Honor CLI and MCP credential stores, `features.secret_auth_storage`, auth routing, the ChatGPT base URL, and system proxy settings. - Preserve managed login-method and ChatGPT workspace restrictions while keeping the sample's built-in execution settings. - Document the sample's authentication configuration behavior. GitOrigin-RevId: b49883537acbebf9266b3970d2709e8e7d1bf217