Answer: To enable ChatGPT sign-in for Codex when using a gateway, update the existing `[model_providers.enterprise-gateway]` table before signing in: set `requires_openai_auth = true` and keep `base_url` pointing to your gateway, and remove any `env_key`, `experimental_bearer_token`, and provider `auth` settings so Codex uses your OpenAI credential for primary authentication. Then send the gateway credential separately via `gateway_oauth.delivery` (cookie or custom header) or a custom authentication header for a static API key, reserving `Authorization` for the OpenAI credential. Status: Confirmed Entry: tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway Revision: 2 Digest: sha256:72d633d0728c0b54 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:49:40Z Last changed: 2026-11-18T13:31:34Z (gateway credential delivery setting: — → gateway_oauth.delivery) Last verified: 2026-11-20T13:37:40Z Next check: 2026-11-21T13:37:40Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of auth setting | requires_openai_auth = true | [1] | 2026-11-20 settings to remove | env_key | [1] | 2026-11-20 gateway credential delivery setting | gateway_oauth.delivery | [1] | 2026-11-20 reserved header | Authorization | [1] | 2026-11-20 Sources: [1] OpenAI. "Connect to a gateway". https://learn.chatgpt.com/docs/enterprise/connect-to-a-gateway.md Role: primary. Accessed: 2026-11-20T13:37:40Z Quote: "Set `requires_openai_auth = true` and keep `base_url` pointing to your gateway." (Supports: auth setting) Quote: "Remove any `env_key`, `experimental_bearer_token`, and provider `auth` settings so Codex uses your OpenAI credential for primary authentication." (Supports: settings to remove) Quote: "configure `gateway_oauth.delivery` to use the cookie or custom header your gateway accepts." (Supports: gateway credential delivery setting) Quote: "Reserve `Authorization` for the OpenAI credential." (Supports: reserved header) Snapshot SHA-256: 15eaf69816d5b67ce28e980ae9e19729e556aa4089e16c7c110d50ee7736d17b (captured 2026-11-17T14:01:37Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T14:01:38Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:37:40Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:37:40Z Last attempt: 2026-11-20T13:37:40Z Notes and limitations: Extracted automatically from a single official source (section "Enable ChatGPT sign-in (recommended)"). Related: https://latestn.com/tool/codex/admin-and-enterprise/enable-ultrafast-enterprise How do I enable Ultrafast mode for GPT-6.1 Sol in an Enterprise workspace? https://latestn.com/tool/codex/admin-and-enterprise/enforce-journal-mode-fleet How do I enforce rollback-journal mode for Codex SQLite across multiple hosts? https://latestn.com/tool/codex/admin-and-enterprise/gateway-rollout-prerequisites What are the prerequisites for rolling out a Codex gateway to my organization? https://latestn.com/tool/codex/admin-and-enterprise/disable-prisma-airs How do I disable or disconnect Prisma AIRS from my Codex workspace? https://latestn.com/tool/codex/admin-and-enterprise/distribute-gateway-configuration How do I distribute Codex gateway configuration to developers? https://latestn.com/tool/codex/admin-and-enterprise/enable-access-token-creation How do I enable access token creation for Codex in a ChatGPT workspace? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:31:34Z | changed | gateway credential delivery setting: — → gateway_oauth.delivery | [1] 2026-11-18T13:31:34Z | changed | OAuth delivery setting: gateway_oauth.delivery → — | [1] 2026-11-13T03:49:40Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway POST: https://latestn.com/dispute/tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable ChatGPT sign-in for Codex when using a gateway? Revision 2, last verified 2026-11-20T13:37:40Z. https://latestn.com/tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway (accessed 2026-11-21T10:08:11Z). @misc{LatestN_tool_codex_admin_and_enterprise_enable_chatgpt_sign_in_gateway_r2, title = {How do I enable ChatGPT sign-in for Codex when using a gateway?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway}}, note = {Revision 2; digest sha256:72d633d0728c0b54; last verified 2026-11-20T13:37:40Z; accessed 2026-11-21T10:08:11Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/admin-and-enterprise/enable-chatgpt-sign-in-gateway