Skip to content

fix(hermes): edge-redirect dashboard root to password-login#754

Merged
bussyjd merged 1 commit into
mainfrom
fix/hermes-dashboard-password-login
Jul 17, 2026
Merged

fix(hermes): edge-redirect dashboard root to password-login#754
bussyjd merged 1 commit into
mainfrom
fix/hermes-dashboard-password-login

Conversation

@bussyjd

@bussyjd bussyjd commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Hermes password-only basic-auth makes bare dashboard / 500 via /auth/login?provider=basic (NotImplementedError: BasicAuthProvider is password-only).
  • Edge-redirect Exact //auth/password-login on the dashboard HTTPRoute only (agent API host unchanged).
  • Post-install/sync prints pretty Dashboard: http://… plus username obol and password = obol agent auth <id>.
  • flow-04 asserts root + password-login are non-500 (alongside existing /api/status 200 and protected API 401).
  • Docs: docs/guides/hermes-dashboard-login.md, README + getting-started.

Test plan

  • go test ./internal/hermes/ -count=1
  • bash -n flows/flow-04-agent.sh
  • obol agent sync (or stack up) applies dashboard HTTPRoute redirect
  • curl -I http://obol-agent.obol.stack/ → 302 to /auth/password-login
  • Follow redirect lands on login form; login with obol + obol agent auth

Hermes basic-auth is password-only, so bare / redirects into
/auth/login?provider=basic and 500s. Print the pretty dashboard host,
edge-redirect Exact / → /auth/password-login on the dashboard HTTPRoute,
document credentials, and smoke-check root + password-login in flow-04.
@bussyjd bussyjd mentioned this pull request Jul 15, 2026
6 tasks
@bussyjd
bussyjd merged commit f520c38 into main Jul 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants