Codex Windows desktop app deep link / OAuth callback bug

Resolved 💬 5 comments Opened May 31, 2026 by Roins-hub Closed Jun 12, 2026

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

26.527.3686.0

What subscription do you have?

GPT-plus

What platform is your computer?

win11-x86

What issue are you seeing?

Codex Windows desktop app deep link / OAuth callback bug

Environment:

  • Windows 11
  • Codex desktop app version: 26.527.3686.0
  • Package: OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0
  • App executable: C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\app\Codex.exe

Issue:
Codex desktop app launches normally, but any browser/deep-link callback into Codex fails. This happens when connecting Supabase via OAuth and also when switching/login account flows.

Error shown:
"Error launching app"
"Unable to find Electron app at C:\Program Files\WindowsApps\OpenAI.Codex_26.52...\?code=...&state=..."
or
"Unable to find Electron app at C:\Program Files\WindowsApps\OpenAI.Codex_26.52...\type=click&tag=..."
"Cannot find module ..."

Expected:
The codex:// callback URL should be handled by the running Codex app.

Actual:
Electron appears to interpret the callback/query parameters as the Electron app path/module, then fails to find that module.

Tried:

  • Repair Codex from Windows Settings
  • Reset/reinstall Codex
  • Re-register AppX package
  • Recreate codex:// registry handler
  • Issue persists across account switching and Supabase OAuth flow

Impact:
OAuth/deep-link flows into Codex are broken. Supabase MCP only works after bypassing OAuth and using SUPABASE_ACCESS_TOKEN manually.

What steps can reproduce the bug?

Feedback ID: 019e7310-3e24-7ca2-a019-7a2c0d1f1d11

What is the expected behavior?

Expected:
The codex:// callback URL should be handled by the running Codex app.

Additional information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗