core-agent-ide/codex-rs/chatgpt
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
..
src [Auth] Introduce New Auth Storage Abstraction for Codex CLI (#5569) 2025-10-27 11:01:14 -07:00
tests test: faster test execution in codex-core (#2633) 2025-08-24 11:10:53 -07:00
Cargo.toml Add cloud tasks (#3197) 2025-09-30 10:10:33 +00:00
README.md Add codex apply to apply a patch created from the Codex remote agent (#1528) 2025-07-11 13:30:11 -04:00

ChatGPT

This crate pertains to first party ChatGPT APIs and products such as Codex agent.

This crate should be primarily built and maintained by OpenAI employees. Please reach out to a maintainer before making an external contribution.