[Windows App] "Continue with ChatGPT" does not open browser (login hangs), device auth works

Resolved 💬 9 comments Opened Mar 10, 2026 by tomaszpiatosa Closed Mar 12, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

OpenAI.Codex 26.306.996.0_x64__2p2nqsd0c76g0

What subscription do you have?

Plus

What platform is your computer?

Windows

What issue are you seeing?

Environment:

  • Product: Codex desktop app (Microsoft Store)
  • Version: OpenAI.Codex 26.306.996.0_x64__2p2nqsd0c76g0
  • OS: Windows (Polish locale)
  • Date reproduced: March 10, 2026 (Europe/Warsaw, UTC+1)

Problem:
Clicking "Continue with ChatGPT" in the Codex desktop app does not open a browser window.
The app switches to a pending state ("Cancel login"), then hangs.

Expected behavior:

  • Default browser opens ChatGPT auth flow.

Actual behavior:

  • No browser window opens.
  • Login stays pending in-app until canceled.

Frequency:

  • 100% reproducible on this machine.

What I already tried:

  • Reinstall app.
  • Full reset: remove app package + clear %LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0.
  • Verify default browser handlers:
  • HKCR\https\shell\open\command -> msedge "%1"
  • HKCR\http\shell\open\command -> msedge "%1"
  • Clear app cache under LocalCache\Roaming\Codex.
  • Restart system and re-test.

Workaround:

  • CLI device code auth works:
  • codex login --device-auth
  • after enabling device code authorization in ChatGPT security settings, login succeeds.
  • login status shows logged in with ChatGPT.

What steps can reproduce the bug?

  1. Install Codex from Microsoft Store.
  2. Launch Codex.
  3. Click "Continue with ChatGPT".
  4. Observe: no browser opens, login hangs.

What is the expected behavior?

Default browser opens ChatGPT auth flow.

Additional information

  • App telemetry/logs show account/login/start routed successfully, but browser auth never launches from desktop app.
  • I can provide screenshots and sanitized logs on request.

View original on GitHub ↗

9 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #13805

Powered by Codex Action

etraut-openai contributor · 4 months ago

Thanks for the bug report. I don't think we've heard of this issue before, so it's likely to be something specific to your system or the way it's configured.

Without repro steps, it's unlikely that we'll be able to diagnose this.

Are you able to repro the problem with the Codex CLI? If so, you could try to diagnose the problem yourself by cloning the Codex sources from this repo and asking Codex to help you debug the problem.

Waizik · 4 months ago

Same problem here, codex app do nothing after I click to Sign in with ChatGPT. Codex app was also installed from microsoft store. The workaround doesn't work for me. I'm able to sign in via console and login status shows logged in using ChatGPT, but codex application is unsigned and does not working.

T-I-S-C · 4 months ago

Same issue here. Just installed from windows store. No login prompt when clicking sign in with chatgpt.
No timeout either. Just the option to cancel sign-in.

tomaszpiatosa · 4 months ago

issue resolved by starting app as administrator.

Waizik · 4 months ago
issue resolved by starting app as administrator.

Not working for me.

dreinon · 2 months ago

not working for me either

AstroQuantumphysicist · 2 months ago

not working for me either

andreabbelli-glitch · 1 month ago

Same issue here

Edit: I got it solved. I ran

codex login --device-auth

Through the powershell. I chose the first option and as I tried to login I got an error message.

I setup passkeys on my devices and somehow the login went through