Skip to content

[Bug]: Cannot log in with ChatGPT Plus sub #3094

@Jeaciaz

Description

@Jeaciaz

Bug Description

Trying to log in with Codex to use my ChatGPT plus sub, I get a "configured successfully" and a bearer token error instantly:

● [18:13:43] Codex configured successfully
● [18:13:43] ERROR: Bearer token is required in API key field

Both the authorization code and device flow produce this error for me. Logging into codex agent using the same account works (and the model responds). It then closes the agent, and upon trying to re-open it and select codex again (it prompts me to on open) the error repeats. If I dismiss this, any prompt results in ERROR: No default provider and model configured..
I have a ChatGPT Plus ($20) sub, if that matters.

Steps to Reproduce

  1. :login -> codex -> pick any flow

Expected Behavior

I expect to be able to use GPT models with my chatgpt subscription.

Actual Behavior

Logging in with a chatgpt subscription throws an error.

Forge Version

2.11.5

Operating System & Version

macOS Tahoe 26.2

AI Provider

OpenAI

Model

No response

Installation Method

npm install -g forgecode

Configuration

My first experience with it, so blank install

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions