codex - 💡(How to fix) Fix **Bug/UX: No way to switch accounts without clearing browser session** [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17092Fetched 2026-04-09 08:02:34
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4unlabeled ×2commented ×1

Fix Action

Fix / Workaround

Workaround: User must manually log out of Google in the browser, or use an incognito window — which is unintuitive and a poor UX experience.

RAW_BUFFERClick to expand / collapse

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:

  1. Log in to Codex with Google Account A
  2. Log out from platform.openai.com
  3. Click "Sign in with Google" again
  4. 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

extent analysis

TL;DR

Modify the Google OAuth login flow to prompt for account selection when signing in.

Guidance

  • Review the Google OAuth configuration to ensure that the prompt parameter is set to select_account to force account selection on each login.
  • Verify that the login_hint parameter is not being used, as it can automatically select the previously used account.
  • Check the Codex application's session management to ensure that it properly clears the previous login session when logging out.
  • Consider adding a "Switch account" or "Sign in with a different account" option in the Codex UI to improve user experience.

Example

No code snippet is provided as the issue does not specify the programming language or framework used.

Notes

The solution may vary depending on the specific Google OAuth library or framework being used in the Codex application.

Recommendation

Apply workaround by modifying the Google OAuth login flow to prompt for account selection, as upgrading to a fixed version is not mentioned in the issue. This is because the issue seems to be related to the configuration of the Google OAuth flow rather than a version-specific bug.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING