codex - 💡(How to fix) Fix Codex ChatGPT login flow

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

What issue are you seeing?

I am paying for ChatGPT Plus and cannot access Codex through the advertised ChatGPT login flow.

This is not an API key issue. Codex CLI is installed correctly. Both codex login and codex login --device-auth redirect me to auth.openai.com/add-phone.

This appears to be a known/auth-related Codex issue:

Please either:

  1. remove the phone verification gate from my account for Codex ChatGPT-login; !!! confirm in writing that Codex ChatGPT-login now requires phone verification for paid Plus users !!!!

What steps can reproduce the bug?

  1. I have an active ChatGPT Plus subscription.

  2. I installed the official Codex CLI on Windows.

  3. I checked that Codex CLI is installed correctly by running:

    Get-Command codex

    PowerShell detects codex.exe, so the CLI is installed and available in PATH.

  4. I am not trying to use an API key. I am trying to sign in through the official ChatGPT login flow.

  5. I run:

    codex login

  6. Codex starts a local login server on localhost and opens the official OpenAI authentication page in the browser.

  7. Instead of completing the ChatGPT/Codex login, the OpenAI authentication flow redirects me to:

    auth.openai.com/add-phone

  8. The page says that a phone number is required to continue.

  9. I also tried the official device authorization method:

    codex login --device-auth

  10. Codex gives me a device code and asks me to open:

https://auth.openai.com/codex/device

  1. After entering the device code and signing in to my ChatGPT Plus account, the same problem happens again: OpenAI redirects me to the phone verification page.

  2. This confirms that the problem is not with my Windows installation, not with PowerShell, and not with the Codex CLI itself.

  3. The issue happens inside OpenAI’s own authentication system, during the official ChatGPT/Codex login flow.

  4. This is not an API key flow, so the API key phone verification requirement should not apply here.

  5. As a paying ChatGPT Plus user, I expected to access Codex through the advertised ChatGPT subscription login path.

  6. However, I am blocked from using Codex unless I provide a phone number.

What is the expected behavior?

No response

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING