GeezerVison is showing github.com — Repeated Auth Prompts when using Opencode Web from an authenticated Opencode Server · Issue #19920 · anomalyco/opencode
Repeated Auth Prompts when using Opencode Web from an authenticated Opencode Server #19920
Labels
bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)webRelates to opencode on web / desktop Description
Description
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.
Screenshot and/or share link
Screen.Recording.2026-03-29.at.18.04.27.mov
Operating System
macOS
Terminal
No response
Reacted by Willian Luis Zuqui
Activity
added
coreAnything pertaining to core functionality of the application (opencode server stuff) webRelates to opencode on web / desktop on Mar 29, 2026github-actions commented on 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.
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, 2026onixau-go commented 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
OpeOginni commented on Mar 29, 2026
ContributorAuthor
More actions
@onixau-go Yeah, hopefully the PR fixes it, makes sure the entry you put in the browser auth prompt gets used
o-nix commented on Apr 7, 2026
Daaamn, the web UI with a password is unusable right now...
mazwardhana commented on Sep 23, 2026
ah me too , i got some problem how to fix it?
Metadata
Metadata
bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)webRelates to opencode on web / desktop Development
No branches or pull requestsIssue actions