Skip to main content

claude_codex/providers/codex/auth/
constants.rs

1pub const CLIENT_ID: &str = "app_EMoamEEZ73f0CkXaXp7hrann";
2pub const ISSUER: &str = "https://auth.openai.com";
3pub const CODEX_API_ENDPOINT: &str = "https://chatgpt.com/backend-api/codex/responses";
4pub const ORIGINATOR: &str = "claude-code-proxy";
5pub const RESPONSES_LITE_ORIGINATOR: &str = "codex_cli_rs";
6pub const REFRESH_MARGIN_MS: u64 = 5 * 60 * 1000;
7pub const OAUTH_PORT: u16 = 1455;
8pub const OAUTH_REDIRECT_URI: &str = "http://localhost:1455/auth/callback";
9pub const DEVICE_POLL_SAFETY_MARGIN_MS: u64 = 3000;