From 108866b470db6c531e4bd565c80e09560db36d8a Mon Sep 17 00:00:00 2001 From: John van der Wulp Date: Fri, 6 Mar 2026 09:01:52 +0100 Subject: [PATCH] Changed error message (its a static message) --- backend/frontend/frontend_included.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/frontend/frontend_included.go b/backend/frontend/frontend_included.go index 42813f44..840e8fa6 100644 --- a/backend/frontend/frontend_included.go +++ b/backend/frontend/frontend_included.go @@ -6,6 +6,7 @@ import ( "bytes" "context" "embed" + "errors" "fmt" "io" "io/fs" @@ -66,7 +67,7 @@ func validateRedirectURI(ctx any, oidcService *service.OidcService, clientID, re // If the client has no callback URLs configured, reject the redirect URI if len(client.CallbackURLs) == 0 { - return false, fmt.Errorf("client has no callback URLs configured") + return false, errors.New("client has no callback URLs configured") } // Validate the redirect URI against the client's callback URLs