Skip to content

Can not login with multiple accounts #2818

Closed

Description

@wowshy

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:

  1. codex login in terminal.
  2. Login with my email, password.
  3. 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

Activity

  1. added
    enhancementNew feature or request
    and removed
    bugSomething isn't working
    on Aug 28, 2025
  2. jahansayem117-oss commented on Aug 28, 2025

    @jahansayem117-oss

    You just have to sign out and log in again. Simple.

  3. wowshy commented on Aug 29, 2025

    @wowshy
    Author

    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.

  4. wowshy commented on Sep 4, 2025

    @wowshy
    Author

    Same issue? #2512
    Is this being triaged internally?

  5. LeeHunter commented on Sep 24, 2025

    @LeeHunter

    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.

  6. bashar94 commented on Oct 1, 2025

    @bashar94

    I have created an issue and pull request on this #4457

  7. antonioisho commented on Oct 18, 2025

    @antonioisho
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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions