Can not login with multiple accounts
Resolved 💬 6 comments Opened Aug 28, 2025 by wowshy Closed Sep 8, 2025
What version of Codex is running?
codex-cli 0.25.0
Which model were you using?
gpt-5 high
What platform is your computer?
Darwin 24.3.0 arm64 arm
What steps can reproduce the bug?
Background:
I have two accounts (ChatGPT Team, ChatGPT Pro) tied to my email address.
Reproduction steps:
codex loginin terminal.- Login with my email, password.
- Login fails
What is the expected behavior?
Be able to login with my personal account (make it selectable).
What do you see instead?
Url https://accounts.google.com/o/saml2/idp?idpid=... with content:
403. That’s an error.
Error: app_not_enabled_for_user
Service is not enabled for this user.
Additional information
_No response_
6 Comments
You just have to sign out and log in again. Simple.
No, that won't work. As I mentioned, the problem is having two accounts (ChatGPT Team, ChatGPT Pro) tied to the same email address. I can't just login to one account.
This is a server-side logic only OpenAI employees can fix.
Same issue? https://github.com/openai/codex/issues/2512
Is this being triaged internally?
This is still a problem. There's no mechanism to manage (i.e. switch between) two accounts. If two email addresses are part of a GitHub account, Codex keeps logging in to the wrong account.
I have created an issue and pull request on this #4457
https://community.openai.com/t/codex-bug-multiple-github-accounts/1263218/39
This has been an issue since Day 1 unfortunately.