codex - 💡(How to fix) Fix Codex App: In app browser to support sign in and authentication flows [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19276Fetched 2026-04-24 10:39:30
View on GitHub
Comments
1
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3commented ×1

Fix Action

Fix / Workaround

For now I understand the workaround is to use a normal browser for login-dependent pages, as the docs say.

Code Example

[GSI_LOGGER]: Failed to open popup window ... Maybe blocked by the browser?
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

App

What feature would you like to see?

I’d like to ask if authentication support in the Codex in-app browser is planned.

The current docs say:

"The in-app browser does not support authentication flows, signed-in pages, your regular browser profile, cookies, extensions, or existing tabs. Use it for pages Codex can open without logging in."

Source: https://developers.openai.com/codex/app/browser

I hit this while testing a local app at localhost:5173/login. The app uses Google sign-in. It works in Brave, but not in the Codex in-app browser.

From what I can tell, Google sign-in tries to open a new tab. In the Codex browser, that popup does not open. Google logs:

[GSI_LOGGER]: Failed to open popup window ... Maybe blocked by the browser?

I also tested a simple window.open(...), and it did not open a new tab in the Codex browser.

It would be helpful to know if supporting auth flows, popup/new-tab login flows, or some external-browser handoff is on the roadmap. A lot of local apps need login before the useful pages can be tested.

For now I understand the workaround is to use a normal browser for login-dependent pages, as the docs say.

extent analysis

TL;DR

The Codex in-app browser does not support authentication flows, and using an external browser is the current workaround.

Guidance

  • The issue is due to the Codex in-app browser not supporting popup windows, which are required for Google sign-in to open a new tab.
  • To verify this, try using a simple window.open() call in the Codex browser to see if it opens a new tab.
  • As a mitigation, use an external browser like Brave for login-dependent pages, as the docs suggest.
  • Consider reaching out to the Codex development team to request support for authentication flows or popup/new-tab login flows in the in-app browser.

Notes

The current documentation explicitly states that the in-app browser does not support authentication flows, so it's unlikely that this will work without changes to the Codex app.

Recommendation

Apply workaround: use an external browser for login-dependent pages, as this is the recommended solution according to the Codex documentation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING