core-agent-ide/codex-rs/rmcp-client/src
Max Johnson 395729910c
rmcp-client: fix auth crash (#11692)
Don't load auth tokens if bearer token is present. This fixes a crash I
was getting on Linux:

```
2026-02-12T23:26:24.999408Z DEBUG session_init: codex_core::codex: Configuring session: model=gpt-5.3-codex-spark; provider=ModelProviderInfo { name: "OpenAI", base_url: None, env_key: None, env_key_instructions: No
ne, experimental_bearer_token: None, wire_api: Responses, query_params: None, http_headers: Some({"version": "0.0.0"}), env_http_headers: Some({"OpenAI-Project": "OPENAI_PROJECT", "OpenAI-Organization": "OPENAI_ORGA
NIZATION"}), request_max_retries: None, stream_max_retries: None, stream_idle_timeout_ms: None, requires_openai_auth: true, supports_websockets: true }
2026-02-12T23:26:24.999799Z TRACE session_init: codex_keyring_store: keyring.load start, service=Codex MCP Credentials, account=codex_apps|20398391ad12d90b

thread 'tokio-runtime-worker' (96190) has overflowed its stack
fatal runtime error: stack overflow, aborting
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s
```
2026-02-13 14:32:01 -08:00
..
bin Upgrade rmcp to 0.14 (#10718) 2026-02-08 15:07:53 -08:00
auth_status.rs rmcp-client: fix auth crash (#11692) 2026-02-13 14:32:01 -08:00
lib.rs Validate CODEX_HOME before resolving (#10249) 2026-01-30 15:46:33 -08:00
logging_client_handler.rs Upgrade rmcp to 0.14 (#10718) 2026-02-08 15:07:53 -08:00
oauth.rs Validate CODEX_HOME before resolving (#10249) 2026-01-30 15:46:33 -08:00
perform_oauth_login.rs Show OAuth error descriptions in callback responses (#9654) 2026-01-27 13:22:54 -08:00
program_resolver.rs fix: resolve Windows MCP server execution for script-based tools (#3828) 2025-11-16 13:41:10 -08:00
rmcp_client.rs rmcp-client: fix auth crash (#11692) 2026-02-13 14:32:01 -08:00
utils.rs feat: replace custom mcp-types crate with equivalents from rmcp (#10349) 2026-02-02 17:41:55 -08:00