Codex App cannot switch accounts, and the logout button is unresponsive

Open 💬 7 comments Opened Apr 20, 2026 by Jacky-LinPeng
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.415.40636 (1799)

What subscription do you have?

Plus

What platform is your computer?

M4 - 26.4.1

What issue are you seeing?

<img width="476" height="540" alt="Image" src="https://github.com/user-attachments/assets/f04a0c3d-bf84-4767-9f94-b418d55ee94f" />

What steps can reproduce the bug?

<img width="572" height="622" alt="Image" src="https://github.com/user-attachments/assets/f56c06c0-b156-4c90-8bc3-8951fa8f5025" />

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

7 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #17092
  • #18456
  • #16903

Powered by Codex Action

arungithub9 · 3 months ago

I am facing the same issue

ankitshah009 · 3 months ago

Facing the same issue. No way to log back in to the account.

zhangfurun · 3 months ago

me too, how to fix?

varadfromeast · 2 months ago

just got this same issue . is there any way to fix ?

varadfromeast · 2 months ago

I fixed it on my local.
I was using headroom. Basically if you are using any proxy such that all your openai calls route via that proxy. Then account switching or login will not behave as expected.
I disable the proxy (in my case headroom) when i need to login + browser cache delete sometimes.

This fixes it.

ArnaudLafosse92100 · 22 days ago

I can confirm this issue is still reproducible on the latest unified ChatGPT desktop app for macOS, in the Codex section.

Clicking “Log out” does absolutely nothing: no dialog, no browser window, no error message, and the account remains connected.

This is blocking because the current account has reached its Codex usage limit, and I need to switch to another ChatGPT account.

Details:

  • macOS
  • Unified ChatGPT desktop app, Codex section
  • codex logout only logs out the CLI and does not affect the desktop Codex session
  • Restarting the app does not help
  • Resetting .codex-global-state.json removes the local project list but does not log out the account
  • Restoring the file brings the projects back, but the account is still connected

I’m not using Headroom, a VPN, a proxy, or any third-party routing tool. I’m using only the official ChatGPT macOS app, in the Codex section. The “Log out” button does nothing.

Expected behavior:
Clicking “Log out” should immediately start the logout flow or show an error explaining why it failed.

A built-in account switcher would also be very useful for users with multiple ChatGPT accounts.

<img width="246" height="306" alt="Image" src="https://github.com/user-attachments/assets/67dee3ee-852f-45ed-a3a9-1e79d51174c8" />