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
PWA failed because HTTP basic auth block static assets #12447
TLDR: Update the HTTP basic auth middleware to allow static resources through.
Reason: I run OPENCODE_SERVER_PASSWORD=iampassword opencode web to start the web service and configure an HTTPS certificate so I can access it via my phone browser outdoors (PWA requires HTTPS). But the browser wouldn’t recognize it as a PWA app.
After investigating, the issue is that OpenCode’s backend HTTP basic auth middleware at packages/opencode/src/server/server.ts blocks access to /site.webmanifest. After skipping auth for it, the browser correctly recognizes it as a PWA app.
Plugins
none
OpenCode version
dev
Steps to reproduce
OPENCODE_SERVER_PASSWORD=iampassword opencode web
Setup your HTTPS web proxy for it
Navigate to the HTTPS website. Check chromium F12 tool "Application"
Activity
github-actions commentedon Feb 6, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
github-actions commentedon Apr 8, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.