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
VS Code Codex extension repeatedly requires sign-in with ChatGPT auth, but works with API key auth #12170
To confirm, you're able to log in using ChatGPT auth and use Codex successfully, but when you restart the extension, it asks you to log in again?
There must be something unusual about your ChatGPT account or sign-in method because we haven't received similar reports from other users. What sign-in method are you using for ChatGPT? Are you using a password or a social media account (Google, etc.)?
Yes, and I just tried it on another computer running Windows. I am using an email/password, not a social media account. I created my Chat account with just a phone number and later had to add an email address for something - I can't remember exactly why now. When I sign into the VSCode Codex extension, I get walked through the tutorial and just click through the handful of clicks.
Activity
github-actions commentedon Feb 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
TheMrAnderson commentedon Feb 18, 2026
Request failed error={"code":-32600,"message":"email and plan type are required for chatgpt authentication"} method=account/read
Also
~/.codex/auth.jsonexists andlast_refreshupdates with each loginetraut-openai commentedon Feb 24, 2026
To confirm, you're able to log in using ChatGPT auth and use Codex successfully, but when you restart the extension, it asks you to log in again?
There must be something unusual about your ChatGPT account or sign-in method because we haven't received similar reports from other users. What sign-in method are you using for ChatGPT? Are you using a password or a social media account (Google, etc.)?
TheMrAnderson commentedon Feb 27, 2026
Yes, and I just tried it on another computer running Windows. I am using an email/password, not a social media account. I created my Chat account with just a phone number and later had to add an email address for something - I can't remember exactly why now. When I sign into the VSCode Codex extension, I get walked through the tutorial and just click through the handful of clicks.
etraut-openai commentedon Feb 27, 2026
I think this is a duplicate of #13007, and I have a PR that should fix it: #13072.
Handle missing plan info for ChatGPT accounts (#13072)
etraut-openai commentedon Feb 28, 2026
This will be fixed in the next release
Handle missing plan info for ChatGPT accounts (#13072)
Handle missing plan info for ChatGPT accounts (openai#13072)
Handle missing plan info for ChatGPT accounts (#13072)