Codex in-app browser Basic Auth dialog briefly appears and then disappears

Open 💬 0 comments Opened Aug 22, 2026 by Anatolt

What version of the Codex App are you using?

ChatGPT/Codex macOS app 26.818.41509 (build 6962)

What subscription do you have?

chagpt pro (25$)

What platform is your computer?

macOS 15.7.4 (build 24G517), arm64

What issue are you seeing?

When opening a website protected with HTTP Basic Auth in the Codex development environment / in-app browser, the native username/password prompt sometimes appears only for a second and then immediately disappears.

After the prompt disappears, there is no visible place to enter the Basic Auth username and password. Codex then treats the site as unavailable, even though the site is reachable and the credentials are valid.

This is intermittent: sometimes the Basic Auth prompt stays visible and can be used normally, but often it flashes briefly and disappears before credentials can be entered.

Video showing the issue:
https://www.youtube.com/watch?v=3WlfV0gTmR4

Test URL:
https://suhire.com/t/codex-basic-auth-test/

Public test Basic Auth credentials for reproduction only:

  • Username: codex
  • Password: codex

What steps can reproduce the bug?

  1. Open Codex Desktop / Codex development environment.
  2. Open the in-app browser or ask Codex to access this Basic Auth protected page:

https://suhire.com/t/codex-basic-auth-test/

  1. Observe the Basic Auth username/password dialog.
  2. In the failing case, the dialog appears briefly and then disappears automatically.
  3. Codex reports that the site is unavailable, and the user has no way to enter the credentials.

What is the expected behavior?

The Basic Auth prompt should remain visible until the user either enters credentials or cancels it.

Alternatively, Codex should provide a stable way to enter Basic Auth credentials for the in-app browser / browser tool.

What is the actual behavior?

The Basic Auth prompt often disappears immediately after appearing. The user cannot enter credentials, and Codex concludes that the page is unavailable.

Additional information

Codex CLI installed locally: 0.147.0

This is especially confusing because Basic Auth is often recommended by ChatGPT/Codex as a simple way to protect staging or test websites. If Codex cannot reliably handle Basic Auth prompts, that recommendation leads to a broken development workflow.

The issue appears intermittent: sometimes the prompt stays visible, but often it disappears too quickly to use.

View original on GitHub ↗