login hangs after OAuth consent in Firefox (no redirect back to VS Code)

Resolved 💬 6 comments Opened Feb 3, 2026 by Ultron55 Closed Feb 5, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.4.69

What subscription do you have?

ChatGPT Go

Which model were you using?

_No response_

What platform is your computer?

Microsoft Windows NT 10.0.19043.0 x64

What terminal emulator and version are you using (if applicable)?

VSCode

What issue are you seeing?

login hangs after OAuth consent in Firefox (no redirect back to VS Code)

What steps can reproduce the bug?

  1. Install OpenAI Codex extension in VS Code
  2. Run "Codex: Sign in with ChatGPT"
  3. OAuth page opens in Firefox
  4. Choose account
  5. Click "Continue" on consent screen
  6. Page hangs, no redirect back to VS Code

What is the expected behavior?

After clicking "Continue", the browser should redirect back to VS Code and complete login.

Additional information

  • Firefox devtools show CSP / OpaqueResponseBlocking errors
  • Errors related to sentinel.openai.com, datadog-browser, __cf_bm cookie

View original on GitHub ↗

6 Comments

etraut-openai contributor · 5 months ago

This is typically the result of a local networking configuration error. Please double check to see if you have a proxy, firewall, or other local networking configuration settings that would prevent connection to a localhost port.

If that doesn't work, you can leverage our alternative auth flow for headless devices.

zanthous · 5 months ago

vscode signin appears to be completely broken since the extension updated yesterday (win 11 brave browser, edge browser)

etraut-openai contributor · 5 months ago

@zanthous, could you provide more details? It might be best if you open a new bug report. Provide as many details as possible including repro steps, platform information, configuration details, etc.

zanthous · 5 months ago

I think it was something to do with running two instances. I closed out the other instance and was finally able to re-login.

Ultron55 · 5 months ago

I asked ChatGPT about it, and it thinks it might be related to my Windows 10 setup — I’ve disabled a bunch of Windows Defender and networking services.

But localhost itself works totally fine on my machine (Stable Diffusion runs on localhost without any issues), and other apps can open a browser and complete auth flows normally.

So I’m a bit confused why Codex specifically fails here.

Ultron55 · 5 months ago

Great — I tried using Microsoft Edge instead, and it worked.

However, I’m still not happy that it doesn’t work with Firefox.