Skip to content

Inbox: make the Codex launch precheck respect providers without OpenAI account auth #3100

Closed

Description

@Arobotmaster

Observed behavior

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

  1. Configure an existing Codex installation to use a custom provider whose resolved account information reports requiresOpenaiAuth: false.
  2. Do not sign into an OpenAI account. Retain whatever authentication that provider itself requires.
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions