Additional Windows 11 repro for #25157: OpenAI Platform connector OAuth callback opens Electron error
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.Codexversion26.527.3686.0 - Install type: Microsoft Store / MSIX package (
OpenAI.Codex_2p2nqsd0c76g0) - OS: Windows 11 Pro, version
10.0.22631, x64 - Plugin:
openai-developersversion1.1.0 - Connector/app: OpenAI Platform (
connector_2de447f3f15448ebab48783d7e4f5d81) - Locale/UI observed in Chinese Windows/Codex environment
Steps to reproduce
- Open Codex Desktop on Windows.
- Go to Plugins > OpenAI Developers.
- Click the OpenAI Platform action to create/connect an OpenAI API key for a project.
- Complete the browser authorization flow.
- Browser redirects back to Codex via the OAuth callback.
- 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-platformto connector IDconnector_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
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗