Cannot log in to app when domain has been associated to organization if already logged in browser

Open 💬 0 comments Opened Aug 26, 2026 by Jaakkonen

What version of the Codex App are you using (From “About Codex” dialog)?

it wont show me since I cannot log in

What subscription do you have?

20x plan

What platform is your computer?

NixOS linux

What issue are you seeing?

<img width="714" height="738" alt="Image" src="https://github.com/user-attachments/assets/e4ba7afe-0ad1-4d92-805e-427203cfd753" />
user cannot log in to codex desktop if the browser where Oauth2 flow goes is already signed in and the domain of the email used is associated to an organization where the user is not member.

What steps can reproduce the bug?

  1. create user with mycompany.com email, get sub
  2. associate organization to mycompany.com
  3. log in to chatgpt.com with personal sub
  4. open desktop app and try to log in. see the Ory error I attached

What is the expected behavior?

login works

Additional information

_No response_

View original on GitHub ↗