Skip to content

Codex need phone number #20161

@Sistem-Pack

Description

@Sistem-Pack

What issue are you seeing?

I used Codex and decided to log in to my account on a different device. Now everything's broken, and when I log in via SSO, Codex asks me to enter my phone number. Why is this happening? I'am not add my phone in my account.

Image

What steps can reproduce the bug?

Log out in device and log in on another device with you credentials.

What is the expected behavior?

Old normal Auth process with SSO Google/Apple

Additional information

Reddit Link for problem

In my case. I have ChatGPT account with Google SSO maybe 3 years. Last month start use Codex. In my account not my phone number presents. Im from Kazakhstan and use Tele2 phone number.

Activity

added
CLIIssues related to the Codex CLI
authIssues related to authentication and accounts
on Apr 29, 2026
removed
authIssues related to authentication and accounts
on Apr 29, 2026
WizardOfXerox

WizardOfXerox commented on Apr 29, 2026

@WizardOfXerox

Really weird to be honest, it did it to me 2 times. and when you input your number, some random numbers will call you for some reason

Sistem-Pack

Sistem-Pack commented on Apr 29, 2026

@Sistem-Pack
Author

Really weird to be honest, it did it to me 2 times. and when you input your number, some random numbers will call you for some reason

At least they call you. I'm getting the invalid_phone_number error.

Image
Sistem-Pack

Sistem-Pack commented on Apr 29, 2026

@Sistem-Pack
Author
WizardOfXerox

WizardOfXerox commented on Apr 29, 2026

@WizardOfXerox

Oh well, codex is dead, i think XD

Sistem-Pack

Sistem-Pack commented on Apr 29, 2026

@Sistem-Pack
Author

Oh well, codex is dead, i think XD

Its is really good joke, but i need work with Codex =))))

coderanamul

coderanamul commented on Apr 29, 2026

@coderanamul

same problem.

alishapckg

alishapckg commented on Apr 29, 2026

@alishapckg

Same problem. And it doesn't matter if I use google SSO or another mail. It's weird if now Codex will need phone verification as well as Claude all the time.

antilopinae

antilopinae commented on Apr 30, 2026

@antilopinae

Same problem

added
authIssues related to authentication and accounts
and removed
CLIIssues related to the Codex CLI
on Apr 30, 2026

37 remaining items

luzenloh

luzenloh commented on May 3, 2026

@luzenloh

same here
tried different browsers, with vpn and without it, still no sms code ever arrives

also honestly dont understand why codex suddenly needs my personal phone number at all. im already paying for the subscription and now i just cant use the tool i paid for

SwimmingMary

SwimmingMary commented on May 3, 2026

@SwimmingMary

I found the solution guys , just reply i'll tell you steps .

TELL ME PLS

vietphuon

vietphuon commented on May 3, 2026

@vietphuon

Any update? Also agreed there some UI bug but it not the root cause, if you check the network tab on dev tool, *_dump, they fetched the correct format “+84”, so need more investigate on the sending sms message logic.

scrense-hash

scrense-hash commented on May 3, 2026

@scrense-hash

Codex CLI / IDE OAuth login is incorrectly requiring phone verification for an existing ChatGPT account. The same account logs into ChatGPT normally without phone verification. I do not use API keys and am not trying to generate one. SMS verification code is never delivered. This blocks Codex CLI and IDE login completely. Related public issues: openai/codex #20161 and #20320.

Gliktch

Gliktch commented on May 3, 2026

@Gliktch

I’m experiencing a related issue, but with a specific bug in the phone number input field.

It inserts an extra "0" after the country code (+20 → +200), which makes the number invalid.

Try right-clicking the number entry field and choosing Inspect, then manually change the value using the developer pane, then submitting the form without letting the field change again by detecting your input 😉

But yes they really need to fix their crap.

vietphuon

vietphuon commented on May 3, 2026

@vietphuon

I’m experiencing a related issue, but with a specific bug in the phone number input field.
It inserts an extra "0" after the country code (+20 → +200), which makes the number invalid.

Try right-clicking the number entry field and choosing Inspect, then manually change the value using the developer pane, then submitting the form without letting the field change again by detecting your input 😉

But yes they really need to fix their crap.

did submitting the form with modified field send the SMS to your phone?

1056013733

1056013733 commented on May 3, 2026

@1056013733

same question,It may be because the account was switched?

BolinoIR

BolinoIR commented on May 3, 2026

@BolinoIR

I have the same problem. I have multiple accounts that are months or even years old but they still want a number for them! But that's not the problem. Because I keep getting the invalid_phone_number error when I want to send a code to my number!

1056013733

1056013733 commented on May 3, 2026

@1056013733

​"
I had already decided to buy ChatGPT Pro, but now I don't dare to.so scarry

Ahsan911-bey

Ahsan911-bey commented on May 3, 2026

@Ahsan911-bey

I think we should Report This Issue To Codex/OpenAI , But How Can we Report ??

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

    authIssues related to authentication and accountsbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Gliktch@Moisis@cbastin@bapho-bush@1056013733

        Issue actions