Windows Codex App protocol activation opens Electron error
What version of the Codex App are you using (From “About Codex” dialog)?
OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0
What subscription do you have?
Chatgpt plus
What platform is your computer?
Windows
What issue are you seeing?
Description:
Codex Windows App protocol activation appears broken on Windows.
Steps to reproduce:
- Install Codex from Microsoft Store.
- Run this in PowerShell:
Start-Process "codex://plugins/"
- An Electron error dialog appears.
Actual result:
Error launching app:
Unable to find Electron app at:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app...\plugins
Cannot find module:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app...\plugins
Expected result:
Codex should open the Plugins page, or handle the codex:// URL normally.
Version:
OpenAI.Codex 26.527.7698.0
Impact:
OAuth callbacks for GitHub, Gmail, and Google Drive plugins fail with the same Electron error, so I cannot connect these plugins.
<img width="971" height="372" alt="Image" src="https://github.com/user-attachments/assets/46b0ae8b-b1cb-4661-a214-015b4fd80876" />
What steps can reproduce the bug?
把这个填进去就行:
Steps to reproduce:
- Install or update Codex Windows App from Microsoft Store.
- Open PowerShell.
- Run:
Start-Process "codex://plugins/"
- An Electron error dialog appears instead of opening the Codex Plugins page.
The same error also happens during OAuth callback flows for GitHub, Gmail, and Google Drive plugins after completing browser authorization.
Bug details:
Codex Windows App protocol activation appears to pass the codex:// URL path to Electron incorrectly. Instead of treating "codex://plugins/" as a deep link, Electron tries to load "plugins" as an app/module path.
Actual result:
Error launching app
Unable to find Electron app at:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app...\plugins
Cannot find module:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app...\plugins
Expected result:
Codex should open normally and route to the Plugins page, or handle the codex:// deep link without launching Electron with the URL path as an app path.
Codex version:
OpenAI.Codex 26.527.7698.0
Impact:
OAuth callbacks for GitHub, Gmail, and Google Drive plugins fail, so I cannot connect those plugins.
Session id / token usage / context window usage:
Not applicable. Start-Process "codex://plugins/"
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗