Skip to content

Windows Codex App protocol activation opens Electron error #25734

Open

Description

@WL-tealcres

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:

  1. Install Codex from Microsoft Store.
  2. Run this in PowerShell:
    Start-Process "codex://plugins/"
  3. 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.

Image

What steps can reproduce the bug?

把这个填进去就行:

Steps to reproduce:

  1. Install or update Codex Windows App from Microsoft Store.

  2. Open PowerShell.

  3. Run:

    Start-Process "codex://plugins/"

  4. 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

Activity

  1. added
    appIssues related to the Codex desktop app
    on Jun 2, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    authIssues related to authentication and accounts
    skillsIssues related to skills
    on Jun 2, 2026
  3. cgize commented on Jun 2, 2026

    @cgize

    same for me!, clean installation in a new device, same error

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingskillsIssues related to skillswindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions