Skip to content

New Effect HTTP_API Doesn't allow for Browser to challenge server basic auth when using the desktop web app and EXPERIMENTAL_HTTP_API flag #25585

@OpeOginni

Description

@OpeOginni

Description

When using the new Effect HTTP_API and running the opencode server, trying to go the / path to access the desktop app. If the server has a password the whole site just errors out as unreachable, rather than going through the native browser flow for setting basic auth.

Plugins

none

OpenCode version

1.14.33

Steps to reproduce

  1. Run the opencode server with a password and set the experemental_httpapi OPENCODE_EXPERIMENTAL_HTTPAPI=true OPENCODE_SERVER_PASSWORD=ope opencode serve
  2. Try to open the desktop web app by going to the / path.
  3. Notice the site doesnt work neither do you get asked for username and password

Screenshot and/or share link

No response

Operating System

macos

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions