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
Commit d85a5cc
Browse filesBrowse the repository at this point in the historyBrowse files
feat(server,app): replace Basic Auth dialog with custom login page
Makes the static frontend fully public and introduces a custom /login page when OPENCODE_SERVER_PASSWORD is set, eliminating the native browser Basic Auth dialog.
- uiRoute /*: no auth middleware — HTML, JS, CSS, fonts served publicly
- API routes: bare 401, no WWW-Authenticate header
- /login page with redirect-back, open-redirect guard, and debounced in-flight guard
- timingSafeEqual (SHA-256) for password comparison
- OPENCODE_LOCAL_WEB_UI=1 dev flag to serve local packages/app/dist
Closesanomalyco#16493 (upstream)
Addresses anomalyco#31484 (upstream)
Co-authored-by: yui-soul <[email protected]>
0 commit comments