core-agent-ide/codex-rs/cli/src
rakesh-oai 079303091f
Rakesh/support device auth (#3531)
# External (non-OpenAI) Pull Request Requirements

Before opening this Pull Request, please read the dedicated
"Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text
with a detailed and high quality description of your changes.

# test

```
codex-rs % export CODEX_DEVICE_AUTH_BASE_URL=http://localhost:3007
codex-rs % cargo run --bin codex login --experimental_use-device-code
   Compiling codex-login v0.0.0 (/Users/rakesh/code/codex/codex-rs/login)
   Compiling codex-mcp-server v0.0.0 (/Users/rakesh/code/codex/codex-rs/mcp-server)
   Compiling codex-tui v0.0.0 (/Users/rakesh/code/codex/codex-rs/tui)
   Compiling codex-cli v0.0.0 (/Users/rakesh/code/codex/codex-rs/cli)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s
     Running `target/debug/codex login --experimental_use-device-code`
To authenticate, enter this code when prompted: 6Q27-KBVRF with interval 5
^C

```

The error in the last line is since the poll endpoint is not yet
implemented
2025-09-30 02:34:57 +00:00
..
debug_sandbox.rs fix: ensure cwd for conversation and sandbox are separate concerns (#3874) 2025-09-18 14:37:06 -07:00
exit_status.rs feat: experimental env var: CODEX_SANDBOX_NETWORK_DISABLED (#879) 2025-05-09 18:29:34 -07:00
lib.rs feat: redesign sandbox config (#1373) 2025-06-24 16:59:47 -07:00
login.rs Rakesh/support device auth (#3531) 2025-09-30 02:34:57 +00:00
main.rs Rakesh/support device auth (#3531) 2025-09-30 02:34:57 +00:00
mcp_cmd.rs [MCP] Add experimental support for streamable HTTP MCP servers (#4317) 2025-09-26 21:24:01 -04:00
proto.rs Simplify auth flow and reconcile differences between ChatGPT and API Key auth (#3189) 2025-09-11 09:16:34 -07:00