GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Closed
#19923
Closed
Repeated Auth Prompts when using Opencode Web from an authenticated Opencode Server#19920
#19923
Copy link
Assignees
iamdavidhill
Labels
bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)webRelates to opencode on web / desktop

Description

@OpeOginni
OpeOginni
opened on Mar 29, 2026
Issue body actions

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

  1. Run opencode serve with an authenticated server
  2. Try to make use of the web app on that URL, put in the right username and password when promted, and open a terminal.
  3. 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

  1. OpeOginni
    added
    bugSomething isn't working
    on Mar 29, 2026
  2. github-actions
    assigned
    iamdavidhill
    on Mar 29, 2026
  3. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    webRelates to opencode on web / desktop
    on Mar 29, 2026
  4. github-actions commented on Mar 29, 2026

    @github-actions
    github-actionsBot
    on Mar 29, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [Web] Infinite Authentication Loop when opening Terminal in v1.2.25 #17376: Infinite authentication loop when opening Terminal in web UI with credentials configured (same symptoms - repeated auth prompts that never resolve when opening terminal)
    • Terminal Failure & Authentication Loop on Mobile #18189: Terminal failure & authentication loop when accessing terminal in authenticated web session

    If your issue is the same, please consider adding a +1 or additional context to those existing reports rather than opening a new one.

  5. OpeOginni
    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
  6. onixau-go commented on Mar 29, 2026

    @onixau-go
    onixau-go
    on Mar 29, 2026
    More actions

    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

  7. OpeOginni commented on Mar 29, 2026

    @OpeOginni
    OpeOginni
    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

  8. o-nix commented on Apr 7, 2026

    @o-nix
    o-nix
    on Apr 7, 2026
    More actions

    Daaamn, the web UI with a password is unusable right now...

  9. Brendonovich
    closed this as completedin #19923on Apr 8, 2026
  10. mazwardhana commented on Sep 23, 2026

    @mazwardhana
    mazwardhana
    on Sep 23, 2026
    More actions

    ah me too , i got some problem how to fix it?

  11. mcyster
    added 2 commits that reference this issue on Oct 31, 2026

    Add opencode-link pairing flow to bypass the sign-in loop

    7088838

    Add opencode pairing runbook and opencode-link CLI helper

    34066ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @iamdavidhill
    iamdavidhill

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.