**Bug/UX: No way to switch accounts without clearing browser session**
Open 💬 3 comments Opened Apr 8, 2026 by pjuny0301
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
0.2.3
What feature would you like to see?
Bug/UX: No way to switch accounts without clearing browser session
When logging in via Google OAuth, Codex always authenticates with the previously used Google account. There is no UI option to select a different account or log out.
Steps to reproduce:
- Log in to Codex with Google Account A
- Log out from platform.openai.com
- Click "Sign in with Google" again
- Automatically logs back in with Account A — no account selection prompt
Expected behavior:
A "Switch account" or "Sign in with a different account" option should be presented, or the Google account picker should appear.
Workaround:
User must manually log out of Google in the browser, or use an incognito window — which is unintuitive and a poor UX experience.
Environment:
- OS: Windows 11
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
+1
What makes this one painful is that Log out revokes the tokens server-side, and that revocation is also what clears the browser session — so every switch costs a full re-auth.
Workaround until it's addressed: I built a small MIT-licensed tool that swaps
~/.codex/auth.jsonbetween saved profiles without ever revoking anything, so both accounts (and the browser session) stay signed in — https://github.com/frndchagas/codex-accountIt never calls the API; it only moves the local file.