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
Can't use Codex after sucsess log in via ChatGpt account, 2 weeks pro acc were wasted... #5562
Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64
What issue are you seeing?
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.
Activity
github-actions commentedon Oct 23, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
pakrym-oai commentedon Oct 23, 2025
From logs I can see you have a proxy set up on http://127.0.0.1:3067/, can it be related?
riobah commentedon Oct 24, 2025
Had the same issue, doing logout & relaunch / login as recommended here fixed it