You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Import Chrome cookies and signed-in sessions into the built-in desktop browser #53580
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Please add an Import browser logins / cookies option to OpenCode Desktop v2's built-in browser, starting with Google Chrome.
I already have accounts signed in to Chrome. When using OpenCode's built-in browser to test an authenticated app or work with a website, I would like to bring those selected logins into OpenCode instead of signing in again to every site, repeating MFA, or configuring a separate browser extension / MCP bridge.
For example: I am signed in to GitHub and an app's staging dashboard in Chrome. I select my Chrome profile and import those two sites into OpenCode. The agent can then open them in OpenCode's built-in browser with the imported authenticated state.
Suggested behavior
Add an import option in browser settings and/or the browser's first-run screen.
Let the user select the source browser and profile.
Let the user choose which sites' cookies / sessions to import.
Keep imported data local and require an explicit user action to import it.
Preserve valid imported logins across app restarts, and provide a way to clear them.
Support other browsers such as Edge, Brave, or Firefox later if feasible.
Similar experiences in other apps
Claude Desktop / Cowork offers an "Import cookies" option for its built-in browser, including site-by-site selection. On macOS it supports Chrome, Edge, and Firefox: official documentation.
ChatGPT / Codex desktop browser workflows provide a similar reference for using authenticated sites inside an agent app. OpenAI's current browser documentation directs users to Settings > Browser for profile-import features available on their device: official documentation.
It would be useful to have this convenience directly in OpenCode's GUI v2.
Related issue
#50382 reports cookies / logins being lost after desktop app restarts. This request is specifically about importing existing logins from another browser; reliable persistence would also be needed for the imported sessions to remain useful.
Thanks for the detailed request, @apoorvdarshan! You're asking for a way to import selected cookies and signed-in sessions from Chrome (and later other browsers) into OpenCode Desktop's built-in browser. You would explicitly choose the profile and the sites, keep the data local, and be able to clear it later. Then the agent could work with authenticated sites without you signing in and doing MFA again. Maintainers will consider it.
As you noted, imported logins would only stay useful if that persistence works reliably. This can't be done as a plugin today, because plugins have no access to the desktop browser's cookie store.
Activity
github-actions commentedon Oct 6, 2026
This issue may be related to existing browser-login requests. Please check:
opencodejr commentedon Oct 27, 2026
Thanks for the detailed request, @apoorvdarshan! You're asking for a way to import selected cookies and signed-in sessions from Chrome (and later other browsers) into OpenCode Desktop's built-in browser. You would explicitly choose the profile and the sites, keep the data local, and be able to clear it later. Then the agent could work with authenticated sites without you signing in and doing MFA again. Maintainers will consider it.
Related issues:
As you noted, imported logins would only stay useful if that persistence works reliably. This can't be done as a plugin today, because plugins have no access to the desktop browser's cookie store.
feat(desktop): choose which sites to import sign-ins from