Changed error message (its a static message)

This commit is contained in:
John van der Wulp
2026-03-06 09:01:52 +01:00
parent 5f9b94742d
commit 108866b470

View File

@@ -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