From 6b4134a0ad8b4ab9e738df352005e1a4accab4f7 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 19 Jun 2026 17:23:36 +0200 Subject: [PATCH] fix(auth): use %v for error in OIDC end-session URL log message Aligns with the surrounding code (the discovery log uses %v) and the repo's convention for formatting errors. --- pkg/routes/api/shared/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/routes/api/shared/auth.go b/pkg/routes/api/shared/auth.go index d300fd956..a36fbe3f3 100644 --- a/pkg/routes/api/shared/auth.go +++ b/pkg/routes/api/shared/auth.go @@ -227,7 +227,7 @@ func LogoutSession(sid string) (endSessionURL string, err error) { if buildErr != nil { // Don't fail logout just because the logout URL could not be built; // the session is still destroyed server-side below. - log.Errorf("Could not build OIDC end-session URL for session %s: %s", sid, buildErr) + log.Errorf("Could not build OIDC end-session URL for session %s: %v", sid, buildErr) } else { endSessionURL = url }