Codex Desktop (Microsoft Store 26.623.9142.0) fails OAuth token exchange after successful browser login (token_exchange_failed)

Open 💬 0 comments Opened Jun 30, 2026 by 676287852z-code

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

26.623.9142.0

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Windows 11 (x64)

What issue are you seeing?

After updating Codex Desktop from Microsoft Store to version 26.623.9142.0, login fails immediately after browser OAuth success.

The browser login completes successfully, but when returning to Codex Desktop, the app shows:

token_exchange_failed
Token exchange failed: error sending request for url (https://auth.openai.com/oauth/token)

ChatGPT web works normally.
auth.openai.com and api.openai.com are reachable.
The issue only happens inside Codex Desktop after OAuth redirect.This issue started immediately after Microsoft Store update to 26.623.9142.0 on June 29.Codex and changing network/proxy does not fix the issue.

What steps can reproduce the bug?

This issue started immediately after updating Codex Desktop on June 29.

Before the update, the same account, same device, and same network worked correctly.

Network tests confirmed:

  • auth.openai.com reachable
  • api.openai.com reachable
  • backend-api reachableReinstalling

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗