Skip to content

OpenAI OAuth account/quota UI disappears in Codex Desktop

Quick fix

Upgrade to CC Switch 4.0 and confirm the official OAuth login is still stored on disk; local routing can still forward requests through a custom endpoint.

Error output
If the active custom/local provider is projected with `requires_openai_auth = false`, Codex Desktop may hide the account/quota footer because the app-server short-circuits auth status before exposing the existing OAuth account.

If a local or custom provider projection sets `requires_openai_auth` to `false`, the Codex app-server may short-circuit auth status before exposing the existing OAuth account to the UI, causing the account and quota area in the lower-left corner of Codex Desktop to disappear. This differs from `auth.json` being cleared: the issue describes an OAuth token that remains valid.

The maintainer said CC Switch 4.0 rewrote Codex routing and configuration writing logic. `requires_openai_auth` is now based on whether official login settings exist on disk, and official account routing continues to use Codex's own login instead of copying login information. The issue does not confirm that the reporter retested and resolved the problem after upgrading.

  1. Upgrade to CC Switch 4.0 or a later version, and confirm the official OAuth login is still stored on disk. If the problem persists, the maintainer recommends providing the CC Switch and Codex versions, along with the relevant `config.toml` content.

ToolCodex Desktop
Version3.16.2(受影响版本;维护者称 4.0 重写了相关路由与配置逻辑)
PlatformsWindowsmacOS

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.