From 44a1b9ad3a5c097cf28763094beabc135c4bd868 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Wed, 1 Apr 2026 07:49:45 -0700 Subject: [PATCH] Register SSO client templates The sso_clients page and sso_client_row fragment were missing from the template registration lists, causing a 500 on GET /sso-clients. Co-Authored-By: Claude Opus 4.6 (1M context) --- internal/ui/ui.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/ui/ui.go b/internal/ui/ui.go index e6eb2b8..2e9636e 100644 --- a/internal/ui/ui.go +++ b/internal/ui/ui.go @@ -267,6 +267,7 @@ func New(database *db.DB, cfg *config.Config, v *vault.Vault, logger *slog.Logge "templates/fragments/webauthn_enroll.html", "templates/fragments/totp_section.html", "templates/fragments/totp_enroll_qr.html", + "templates/fragments/sso_client_row.html", } base, err := template.New("").Funcs(funcMap).ParseFS(web.TemplateFS, sharedFiles...) if err != nil { @@ -287,6 +288,7 @@ func New(database *db.DB, cfg *config.Config, v *vault.Vault, logger *slog.Logge "profile": "templates/profile.html", "unseal": "templates/unseal.html", "service_accounts": "templates/service_accounts.html", + "sso_clients": "templates/sso_clients.html", } tmpls := make(map[string]*template.Template, len(pageFiles)) for name, file := range pageFiles {