Keep official login has no effect; Codex shows API login
Quick fix
Upgrade to cc-switch v4.0.0 or later; this version changes how Codex configuration is written to prevent third-party provider keys from replacing official…
Symptom
Section titled “Symptom”显示为api登录,插件未解锁,模型也无法选择It shows as API login, the plugin is not unlocked, and models cannot be selected.
This issue occurred in cc-switch 3.16.1. The maintainer explained that the old Codex write method put third-party provider keys in auth.json, causing official ChatGPT login to appear as API login. The maintainer said v4.0.0 reworked the write method: third-party provider keys are written only to the custom table in config.toml and are no longer written to auth.json.
Upgrade to cc-switch v4.0.0 or later; the maintainer said the fix is included starting with this version.
When switching to a third-party provider, enable “Keep official login” as needed. When switching back to OpenAI Official, the official login is restored automatically.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”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.