codex - 💡(How to fix) Fix Additional Windows 11 repro for #25157: OpenAI Platform connector OAuth callback opens Electron error

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…

Additional reproduction for #25157 on Windows: Codex Desktop connector OAuth callback fails when connecting the OpenAI Developers plugin's OpenAI Platform connector. The same user reports that adding any new OAuth-based Codex plugin/connector currently hits this callback failure, even after reinstalling.

This appears to be the same Windows codex://oauth_callback protocol handling issue where the OAuth callback URL is interpreted as an Electron app path instead of being delivered to the running Codex app.

Error Message

  1. Codex shows a Windows/Electron error dialog instead of completing the connector connection. Error launching app

Root Cause

Additional reproduction for #25157 on Windows: Codex Desktop connector OAuth callback fails when connecting the OpenAI Developers plugin's OpenAI Platform connector. The same user reports that adding any new OAuth-based Codex plugin/connector currently hits this callback failure, even after reinstalling.

This appears to be the same Windows codex://oauth_callback protocol handling issue where the OAuth callback URL is interpreted as an Electron app path instead of being delivered to the running Codex app.

Code Example

Error launching app

Unable to find Electron app at
C:\Program ...\oauth_callback?code=[REDACTED]

Cannot find module
C:\Program ...\oauth_callback?code=[REDACTED]
RAW_BUFFERClick to expand / collapse

Summary

Additional reproduction for #25157 on Windows: Codex Desktop connector OAuth callback fails when connecting the OpenAI Developers plugin's OpenAI Platform connector. The same user reports that adding any new OAuth-based Codex plugin/connector currently hits this callback failure, even after reinstalling.

This appears to be the same Windows codex://oauth_callback protocol handling issue where the OAuth callback URL is interpreted as an Electron app path instead of being delivered to the running Codex app.

Environment

  • Codex Desktop: OpenAI.Codex version 26.527.3686.0
  • Install type: Microsoft Store / MSIX package (OpenAI.Codex_2p2nqsd0c76g0)
  • OS: Windows 11 Pro, version 10.0.22631, x64
  • Plugin: openai-developers version 1.1.0
  • Connector/app: OpenAI Platform (connector_2de447f3f15448ebab48783d7e4f5d81)
  • Locale/UI observed in Chinese Windows/Codex environment

Steps to reproduce

  1. Open Codex Desktop on Windows.
  2. Go to Plugins > OpenAI Developers.
  3. Click the OpenAI Platform action to create/connect an OpenAI API key for a project.
  4. Complete the browser authorization flow.
  5. Browser redirects back to Codex via the OAuth callback.
  6. Codex shows a Windows/Electron error dialog instead of completing the connector connection.

Actual behavior

The callback fails with an Electron dialog. The OAuth code is redacted below:

Error launching app

Unable to find Electron app at
C:\Program ...\oauth_callback?code=[REDACTED]

Cannot find module
C:\Program ...\oauth_callback?code=[REDACTED]

The connector tool is then not exposed in the Codex thread. For example, after attempting to connect OpenAI Platform, tool discovery still does not expose the expected encrypted API key creation tool, so the OpenAI API key flow remains blocked.

Expected behavior

Codex Desktop should receive the OAuth callback through the codex:// protocol handler, route it to the running app, complete connector authentication, and expose the OpenAI Platform connector tools to the thread.

Additional observations

  • The OpenAI Developers plugin itself is installed and its skill files are present locally.
  • The plugin manifest maps openai-platform to connector ID connector_2de447f3f15448ebab48783d7e4f5d81.
  • Reinstalling does not appear to resolve the callback failure.
  • The user reports this is affecting all newly added Codex plugins/connectors that require the same OAuth callback flow.

Related existing issue: #25157

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…

FAQ

Expected behavior

Codex Desktop should receive the OAuth callback through the codex:// protocol handler, route it to the running app, complete connector authentication, and expose the OpenAI Platform connector tools to the thread.

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 Additional Windows 11 repro for #25157: OpenAI Platform connector OAuth callback opens Electron error