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
Fix OIDC login bypass test to expect 302
rcourtmanbbfc5a9fc46d
diff --git a/internal/api/security_regression_test.go b/internal/api/security_regression_test.goindex 64ec46735c..c37ba57852 100644--- a/internal/api/security_regression_test.go+++ b/internal/api/security_regression_test.go@@ -3223,8 +3223,8 @@ func TestOIDCLoginBypassesAuth(t *testing.T) {req.RemoteAddr = "203.0.113.46:1234"rec := httptest.NewRecorder()router.Handler().ServeHTTP(rec, req)- if rec.Code != http.StatusTemporaryRedirect {- t.Fatalf("expected 307 redirect when OIDC is disabled, got %d", rec.Code)+ if rec.Code != http.StatusFound {+ t.Fatalf("expected 302 redirect when OIDC is disabled, got %d", rec.Code)}}