Lightweight coding agent that runs in your terminal
Rust
[app-server] Gate login issuer override constant (#22338)
cassirer-openai842ac74b9c47
diff --git a/codex-rs/app-server/src/request_processors/account_processor.rs b/codex-rs/app-server/src/request_processors/account_processor.rsindex c73d6700e7..f32f87ed15 100644--- a/codex-rs/app-server/src/request_processors/account_processor.rs+++ b/codex-rs/app-server/src/request_processors/account_processor.rs@@ -2,6 +2,8 @@ use super::*;// Duration before a browser ChatGPT login attempt is abandoned.const LOGIN_CHATGPT_TIMEOUT: Duration = Duration::from_secs(10 * 60);+// The override is intentionally available only in debug builds, matching the login path below.+#[cfg(debug_assertions)]const LOGIN_ISSUER_OVERRIDE_ENV_VAR: &str = "CODEX_APP_SERVER_LOGIN_ISSUER";enum ActiveLogin {