Can't use Codex after sucsess log in via ChatGpt account, 2 weeks pro acc were wasted...
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?
<img width="1078" height="605" alt="Image" src="https://github.com/user-attachments/assets/4eea725a-03bb-4ac1-8ea9-da49a7d33eb0" />
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_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗