codex - 💡(How to fix) Fix Codex Windows desktop app deep link / OAuth callback bug

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…

Error Message

Error shown: "Error launching app"

RAW_BUFFERClick to expand / collapse

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

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

codex - 💡(How to fix) Fix Codex Windows desktop app deep link / OAuth callback bug