Codex App: In app browser to support sign in and authentication flows
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.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗