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
Repeated Auth Prompts when using Opencode Web from an authenticated Opencode Server #19920
When making use of the Web on a broswer from an authenticated opencode server you are nromally prompted to put in a username and password. But when trying to use a terminal the prompt comes over and over again and never resoles making the whole web app experience not possible.
Note: This doesnt happen when the web is on a different url than the authed server, and it doesnt happen on the desktop app.
Plugins
None
OpenCode version
1.3.5
Steps to reproduce
Run opencode serve with an authenticated server
Try to make use of the web app on that URL, put in the right username and password when promted, and open a terminal.
Notice it just continues to be asked and never resolves.
changed the title [-]Repeated Aith Prompts when using Opencode Web from an authenticated Opencode Server[/-][+]Repeated Auth Prompts when using Opencode Web from an authenticated Opencode Server[/+]on Mar 29, 2026
I have the same problem.
It occurred after updating to opencode version 1.3.5 - 1.3.6
Web - version 1.3.6
A WSS request is made to the wrong URL
wss://[email protected]/pty/pty_d3 ...
opencode@ is substituted even though the username isn't specified at all, or a different one is specified via Environment OPENCODE_SERVER_USERNAME and OPENCODE_SERVER_PASSWORD
Error NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
Activity
github-actions commentedon Mar 29, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is the same, please consider adding a +1 or additional context to those existing reports rather than opening a new one.
[-]Repeated Aith Prompts when using Opencode Web from an authenticated Opencode Server[/-][+]Repeated Auth Prompts when using Opencode Web from an authenticated Opencode Server[/+]onixau-go commentedon Mar 29, 2026
I have the same problem.
It occurred after updating to opencode version 1.3.5 - 1.3.6
Web - version 1.3.6
A WSS request is made to the wrong URL
wss://[email protected]/pty/pty_d3 ...
opencode@ is substituted even though the username isn't specified at all, or a different one is specified via Environment OPENCODE_SERVER_USERNAME and OPENCODE_SERVER_PASSWORD
Error NS_ERROR_WEBSOCKET_CONNECTION_REFUSED
OpeOginni commentedon Mar 29, 2026
@onixau-go Yeah, hopefully the PR fixes it, makes sure the entry you put in the browser auth prompt gets used
o-nix commentedon Apr 7, 2026
Daaamn, the web UI with a password is unusable right now...
mazwardhana commentedon Sep 23, 2026
ah me too , i got some problem how to fix it?
Add opencode-link pairing flow to bypass the sign-in loop
Add opencode pairing runbook and opencode-link CLI helper