Skip to content

Codex ChatGPT login flow #24990

Description

@D4Vinci-CDM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    authIssues related to authentication and accountsbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions