Skip to content

desktop(browser): website logins lost after closing and reopening tabs in 2.0.30 #55920

Closed

Description

@Wang-Ya-di

This was generated by AI during triage.

Description

In OpenCode Desktop 2.0.30, website login state is lost after closing and reopening a tab in the built-in browser. After signing in to a website, closing its tab, and opening the same website again in the built-in browser, I have to sign in again.

Expected: reopening the website should retain its valid login session without requiring another sign-in.

OpenCode version

2.0.30 (Desktop)

Steps to reproduce

  1. Open a website that requires authentication in the desktop app's built-in browser.
  2. Sign in successfully.
  3. Close the browser tab.
  4. Open the same website again in the built-in browser.
  5. The website requires signing in again.

Related issue

#50382 reports similar login-state loss after restarting the app and was closed during the V1 issue cleanup. This report is for 2.0.30, with closing and reopening the browser tab as the trigger. I have not verified the underlying cookie/storage cause.

Activity

  1. opencode-agent commented on Oct 16, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report. We couldn't reproduce this in our automated environment, because it can't run the Desktop app's built-in browser, so a maintainer with the desktop app will need to confirm it.

    The code does point to a likely cause, though we haven't confirmed it by running the app. Each time the built-in browser pane is set up, it gets a new, temporary storage area, so cookies don't survive once the pane is closed and reopened. The same code is still on the latest dev (e25b7ab).

    Related:

    If you notice exactly when the login is lost (closing just one tab while others stay open, closing the last tab, or switching sessions), please add that here. It would help pin it down.

  2. LonelyFellas commented on Oct 16, 2026

    @LonelyFellas

    same issue

  3. Wang-Ya-di commented on Oct 16, 2026

    @Wang-Ya-di
    Author

    This was generated by AI during triage.

    I’m using OpenCode Desktop 2.0.30. It happens when closing just one tab while other built-in browser tabs remain open: after signing in to a website, I close that tab and reopen the same website in a new tab, and it asks me to sign in again. This happens without restarting the app.

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