core-agent-ide/codex-rs/cli/src
Celia Chen eb5b1b627f
[Auth] Introduce New Auth Storage Abstraction for Codex CLI (#5569)
This PR introduces a new `Auth Storage` abstraction layer that takes
care of read, write, and load of auth tokens based on the
AuthCredentialsStoreMode. It is similar to how we handle MCP client
oauth
[here](https://github.com/openai/codex/blob/main/codex-rs/rmcp-client/src/oauth.rs).
Instead of reading and writing directly from disk for auth tokens, Codex
CLI workflows now should instead use this auth storage using the public
helper functions.

This PR is just a refactor of the current code so the behavior stays the
same. We will add support for keyring and hybrid mode in follow-up PRs.

I have read the CLA Document and I hereby sign the CLA
2025-10-27 11:01:14 -07:00
..
debug_sandbox.rs add(core): managed config (#3868) 2025-10-03 13:02:26 -07:00
exit_status.rs feat: experimental env var: CODEX_SANDBOX_NETWORK_DISABLED (#879) 2025-05-09 18:29:34 -07:00
lib.rs Delete codex proto (#4520) 2025-09-30 22:33:28 +00:00
login.rs [Auth] Introduce New Auth Storage Abstraction for Codex CLI (#5569) 2025-10-27 11:01:14 -07:00
main.rs feat: return an error if unknown enabled/disabled feature (#5817) 2025-10-27 16:53:00 +00:00
mcp_cmd.rs [MCP] Properly gate login after mcp add with experimental_use_rmcp_client (#5653) 2025-10-24 18:32:15 -04:00