Skip to content

Can't use Codex after sucsess log in via ChatGpt account, 2 weeks pro acc were wasted... #5562

Closed

Description

@JMsource123

What version of Codex is running?

codex-cli 0.47.0

What subscription do you have?

pro

Which model were you using?

gpt-5-codex

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What issue are you seeing?

Image Codex CLI: Cannot authenticate with my ChatGPT Pro account — CLI reports “Authorized” but does not actually work Summary

For the past two weeks, I’ve been unable to properly use Codex CLI while logged in under my ChatGPT Pro account.
Although the CLI shows “Authorized” after running codex login, subsequent commands behave as if no valid session exists. Some commands fail outright; others require an API key and fall back to the BYO (Bring Your Own Key) mode, which bypasses Pro plan quotas and capabilities.

The issue persists even after multiple logout → login cycles.

What steps can reproduce the bug?

Uploaded thread: 019a11af-1f0f-7c20

What is the expected behavior?

Logging in via “Sign in with ChatGPT” (device-code flow) should authenticate the CLI with my ChatGPT Pro account.

After successful login, all CLI commands (codex exec, codex edit, integrations, etc.) should work normally and respect my Pro quotas and model access.

No need to supply a personal API key when I’m already a Pro subscriber.

Additional information

No response

Activity

  1. pakrym-oai commented on Oct 23, 2025

    @pakrym-oai
    Contributor

    From logs I can see you have a proxy set up on http://127.0.0.1:3067/, can it be related?

  2. riobah commented on Oct 24, 2025

    @riobah

    Had the same issue, doing logout & relaunch / login as recommended here fixed it

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions