Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
feat: support token query parameter for WebSocket authentication
rcourtman1dc573e2099a
diff --git a/internal/api/auth.go b/internal/api/auth.goindex e77328526c..e3e066c9ba 100644--- a/internal/api/auth.go+++ b/internal/api/auth.go@@ -283,6 +283,12 @@ func CheckAuth(cfg *config.Config, w http.ResponseWriter, r *http.Request) bool}}}+ // Check query parameter (for WebSocket connections that can't send headers)+ if queryToken := r.URL.Query().Get("token"); queryToken != "" {+ if validateToken(queryToken) {+ return true+ }+ }}// Check session cookie (for WebSocket and UI)