Skip to content

Codex App: In app browser to support sign in and authentication flows #19276

Closed

Description

@toptechie156

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.

Activity

  1. added
    appIssues related to the Codex desktop app
    authIssues related to authentication and accounts
    on Apr 24, 2026
  2. toptechie156 commented on Apr 24, 2026

    @toptechie156
    Author

    I also tried using the Playwright-based skills provided in the app.

    Both are useful for local UI testing, but I have not been able to get a smooth workflow for testing my local app with a persisted logged-in session.

    This is currently the only case where I have to fall back to Claude Code’s Chrome tool, because it can use a browser session that stays logged in. I would rather keep this workflow inside Codex if possible.

    Is there any official or community-recommended tool, MCP server, plugin, or skill for testing local development apps with persisted logged-in sessions?

  3. rondavis007 commented on Apr 24, 2026

    @rondavis007

    I had a similar problem trying to get Codex in-app browser to log into a site that used a Google sign-in. It said it couldn't do it because "it’s embedded in a cross-origin iframe, and the in-app browser can’t interact with that kind of button right now."

  4. ewwwgiddings commented on May 5, 2026

    @ewwwgiddings

    Is this on the roadmap? It's a much needed feature to be logged into sites during use of Browser and this prevents a large majority of that.

  5. macvsog-coder commented on May 6, 2026

    @macvsog-coder

    I haven't test this yet, but if I can't login to websites then browser becomes a very basic tool. I fully support full authentication.

  6. toptechie156 commented on May 7, 2026

    @toptechie156
    Author

    https://x.com/OpenAIDevs/status/2052481136971125158
    Codex gods heard us, we can close it now

  7. wbdb commented on Sep 4, 2026

    @wbdb

    Hmm basic auth not working here: The alert disappears immediately. Anyone else?

    Version 26.901.31953
    Released on September 4, 2026
    Windows 11 Pro / WSL
    
  8. sanchezcodes commented on Oct 1, 2026

    @sanchezcodes

    @wbdb happens exactly like you described to me as well Version 26.928.31416.

  9. wbdb commented on Oct 1, 2026

    @wbdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appauthIssues related to authentication and accountsbrowserenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions