You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inbox: make the Codex launch precheck respect providers without OpenAI account auth #3100
The Inbox's New Codex session entry can report that OpenAI login is required when Codex is configured to use a custom model provider that does not require OpenAI account authentication.
The provider can have its own credentials; the issue is the extra requirement to sign into an OpenAI account even when Codex's selected provider does not require that account.
Reproduction
Configure an existing Codex installation to use a custom provider whose resolved account information reports requiresOpenaiAuth: false.
Do not sign into an OpenAI account. Retain whatever authentication that provider itself requires.
Open Inbox → New session → Codex and inspect launch eligibility.
Expected: use Codex's resolved provider/account information to determine whether OpenAI login is required. A configured provider that does not require OpenAI auth should not be rejected solely because no OpenAI account is present.
Observed on the tested release: the entry is treated as logged out/not ready, preventing the intended selection.
Evidence and approach explored
The original observation was on official v0.28.60. The local investigation queried a real Codex app-server account response with requiresOpenaiAuth: false and no OpenAI account. A prototype used the provider-aware result for eligibility, with focused regression tests. The patched UI allowed selecting Codex for the intended linked-machine project.
This does not prove that a GUI-launched model request succeeded. Provider credential validity still needs to be established by Codex/the provider at request time; showing an eligible launcher should not claim the remote credentials were accepted.
The installation has since been restored to official v0.28.61. This scenario has not been re-tested on that release. If the resolved account response is unavailable or requires OpenAI auth, existing errors/login requirements should remain meaningful rather than being bypassed.
Activity