Codex Desktop stuck in unauthenticated state (401 Missing Bearer Authentication)

Open 💬 1 comment Opened Jun 25, 2026 by zhanghejing6542

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

Codex Desktop Version: 26.616.81150

What subscription do you have?

ChatGPT account: Plus

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

Around 6:00 PM (local time) today, Codex Desktop suddenly stopped working.

The application no longer authenticates correctly. Every request fails with:

  • 401 Unauthorized: Missing bearer authentication
  • After repeated retries, it eventually shows 429 Too Many Requests.

The app continuously reconnects but never recovers.

Additional symptoms:

  • The account/avatar section is missing from the Desktop app.
  • The app never prompts me to sign in again.
  • Clicking "Log Out" has no effect.
  • My previous Codex Desktop conversations are no longer accessible.

The same OpenAI account works normally in:

  • Web Codex
  • ChatGPT Desktop
  • ChatGPT Web

This issue only affects Codex Desktop.

Troubleshooting already attempted:

  • Restarted the Mac
  • Reinstalled Codex Desktop
  • Deleted ~/Library/Application Support/Codex and allowed it to recreate a fresh profile
  • Verified no OpenAI environment variables are set
  • Verified Codex CLI is not installed
  • Checked Keychain entries

None of these steps changed the behavior.

<img width="1001" height="882" alt="Image" src="https://github.com/user-attachments/assets/0eb44960-38e7-4858-9bcb-92077b6db004" />
<img width="749" height="886" alt="Image" src="https://github.com/user-attachments/assets/4df20ba3-c4d9-4f08-bbb3-ed78f75a46f7" />
<img width="368" height="202" alt="Image" src="https://github.com/user-attachments/assets/7df565da-ec4b-48d8-985a-c7dbd6817a2e" />
<img width="401" height="200" alt="Image" src="https://github.com/user-attachments/assets/200351ae-9fea-4362-9c4f-e4ee0a1015f6" />

<img width="401" height="200" alt="Image" src="https://github.com/user-attachments/assets/f657f92f-b3e8-471c-985a-e8e3a89bbaf0" />

What steps can reproduce the bug?

  1. Launch Codex Desktop (Version 26.616.81150).
  2. The application opens normally but no account/avatar is shown.
  3. Open an existing conversation or start a new conversation.
  4. Send any message.

Expected behavior:

  • The application should authenticate normally or prompt the user to sign in again if authentication has expired.

Actual behavior:

  • Requests immediately fail with "401 Unauthorized: Missing bearer authentication".
  • The client continuously retries.
  • Eventually it reports "429 Too Many Requests".
  • The application never displays a login flow.

The problem started suddenly around 6:00 PM today without any configuration changes.

What is the expected behavior?

Codex Desktop should authenticate successfully using my existing OpenAI account.

If authentication has expired or become invalid, the application should prompt me to sign in again instead of remaining in an unauthenticated state.

After signing in, I should be able to:

  • Access my existing Codex Desktop conversations.
  • Create new conversations.
  • Send prompts normally without receiving authentication errors.
  • See my account/avatar displayed in the application.

Additional information

This issue started suddenly around 6:00 PM (local time) today without any intentional configuration changes.

The same OpenAI Plus account works correctly in:

  • Web Codex
  • ChatGPT Web
  • ChatGPT Desktop

Only Codex Desktop is affected.

I have already tried:

  • Restarting the Mac
  • Reinstalling Codex Desktop
  • Removing ~/Library/Application Support/Codex
  • Letting Codex recreate a fresh profile
  • Verifying there are no OpenAI environment variables
  • Checking Keychain entries

None of these steps resolved the issue.

If needed, I'm happy to provide diagnostic logs or test a debug build to help identify the problem.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗