Skip to content

Desktop setup (Self-Contained): the browser opens on the CopilotKit sign-in before OpenBot says a sign-in is coming #2065

Open

Description

@Laptopmini

On my first run of OpenBot Desktop 1.0.3 (macOS 26, Apple silicon), the browser came to the front on CopilotKit's "Approve this sign-in?" page the moment the Account step appeared. Nothing before that told me a browser sign-in was coming or what it was for. The explanation ("OpenBot needs a free license key. Sign in to get one." and the footnote) was in the OpenBot window, which was now behind the browser. The page itself was clear once I read it: like a GitHub app authorization, it named OpenBot and what it wanted to do with my account, with Approve and Reject. What was missing was any warning in OpenBot that a browser page was about to open, so it felt like it came out of nowhere and I went back to OpenBot to check before approving.

It's the same on main today (ed6d86d, after v1.2.0-rc.3) when you pick OpenBot (Self-Contained): CopilotKitAccount still starts login the moment the step opens, and no earlier screen mentions the browser. I understand that's on purpose. #1385 starts the sign-in early so people who leave during a long install are still identified, and #1421 brings OpenBot back once the sign-in ends. I'm not suggesting undoing that.

The other sign-ins in setup already handle this. The OpenBot Cloud and "Connect to it" screens say "You'll sign in or create an account in your browser, then come straight back here." before a button, and #1758 shows the Composio step ("Taking you to Google in 5") in the window before the browser opens. The Self-Contained Account step is the one left that opens the browser before saying why.

Some options that keep the early start:

  1. Say it on the screen before. One line by Install on the Self-Contained screen, such as "Next, your browser opens so you can sign in to CopilotKit and get a free license key." Smallest change.
  2. A short countdown, as Composio has. Show the Account step, then open the browser a few seconds later ("Opening your browser in 3"), so the reason is on screen before the browser takes focus.

I'm happy to open a PR for option 1 or 2, whichever you prefer.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions