Skip to content

Canva OAuth callback fails on Windows: codex:// deep link is treated as Electron app path #25598

Closed as duplicate

Description

@julesLubrano

What version of the Codex App are you using (From “About Codex” dialog)?

26.527.3686.0 / Microsoft Store package: OpenAI.Codex 26.527.3686.0

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex Desktop on Windows fails to complete the Canva connector OAuth flow.

The Canva authorization succeeds in the browser and the page displays “Authorization Successful”. However, when the browser redirects back to Codex through the codex:// OAuth callback, Codex Desktop opens an Electron error dialog instead of completing the connector setup.

The same issue is reproducible outside Canva by running this command in PowerShell:

Start-Process "codex://new"

Actual error:

Error launching app

Unable to find Electron app at:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\app\codex:\new

Cannot find module:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\app\codex:\new

During the Canva OAuth callback, the error is similar, but with:

...\app\oauth_callback?code=[REDACTED]

The OAuth code has been redacted.

This looks like the codex:// protocol handler is launching Codex, but the deep link URL is being interpreted as an Electron app/module path instead of being passed to the running Codex Desktop app.

What steps can reproduce the bug?

  1. Open Codex Desktop on Windows.
  2. Go to Plugins / Connectors.
  3. Select Canva and start the connection flow.
  4. Complete the Canva authorization in the browser.
  5. The browser shows “Authorization Successful”.
  6. The browser redirects back to Codex through a codex://oauth_callback?... URL.
  7. Codex Desktop opens an Electron error dialog instead of completing the Canva connection.

Additional minimal repro:

  1. Open PowerShell.
  2. Run: Start-Process "codex://new"
  3. The same Electron error appears.

What is the expected behavior?

Codex Desktop should receive the codex:// OAuth callback, route it to the running app, and complete the Canva connector setup.

The codex:// URL should not be interpreted as an Electron application path or module path.

Additional information

  • Installed from Microsoft Store.
  • Rebooting Windows did not fix the issue.
  • Canva authorization succeeds in the browser.
  • Codex Desktop itself opens normally.
  • The failure happens when handling codex:// deep links / OAuth callbacks.
  • Feedback ID from Codex: no-active-thread-019e82be-c1e4-7a22-a405-7b6504680a23

This appears related to existing Windows Codex Desktop OAuth/deep-link issues such as #25157 and #25203, but this report confirms the same failure with the Canva connector.

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