feat(scraper): put the hangfire dashboard behind basic auth #18

Merged
TimCane merged 1 commit from feat/dashboard-auth into main 2026-07-19 18:35:09 +01:00
TimCane commented 2026-07-19 18:33:46 +01:00 (Migrated from github.com)

Summary

  • basic auth on the hangfire dashboard at /jobs: it now answers on a public domain through the coolify proxy, and it can start and cancel crawls
  • credentials come from JOBS_USER / JOBS_PASSWORD; options are validated on start, so a missing value stops the host instead of leaving the dashboard open
  • the auth filter sets the WWW-Authenticate challenge hangfire omits, so browsers show a login prompt
  • gluetun exposes 5206 to the proxy instead of publishing it on the host

Test plan

  • dotnet test: 97 passed, including new BasicCredentialsTests
  • deploy and confirm the coolify proxy routes /jobs and prompts for credentials
## Summary - basic auth on the hangfire dashboard at /jobs: it now answers on a public domain through the coolify proxy, and it can start and cancel crawls - credentials come from JOBS_USER / JOBS_PASSWORD; options are validated on start, so a missing value stops the host instead of leaving the dashboard open - the auth filter sets the WWW-Authenticate challenge hangfire omits, so browsers show a login prompt - gluetun exposes 5206 to the proxy instead of publishing it on the host ## Test plan - dotnet test: 97 passed, including new BasicCredentialsTests - [ ] deploy and confirm the coolify proxy routes /jobs and prompts for credentials
Sign in to join this conversation.
No description provided.