From 26b84f6d175732e0fd4d3a4d5ffc439469c2f746 Mon Sep 17 00:00:00 2001 From: Yury Kovalev Date: Wed, 8 May 2024 18:39:28 +0200 Subject: [PATCH] Fix tests --- internal/dinosaur/pkg/handlers/authentication.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/dinosaur/pkg/handlers/authentication.go b/internal/dinosaur/pkg/handlers/authentication.go index cf8a644f67..76e71f8460 100644 --- a/internal/dinosaur/pkg/handlers/authentication.go +++ b/internal/dinosaur/pkg/handlers/authentication.go @@ -87,6 +87,8 @@ func NewAuthenticationHandler(IAMConfig *iam.IAMConfig, next http.Handler) (http adminAPIHandler, err := authentication.NewHandler(). Logger(authnLogger). + KeysURL(IAMConfig.JwksURL). // ocm JWK JSON web token signing certificates URL + KeysFile(IAMConfig.JwksFile). // ocm JWK backup JSON web token signing certificates KeysURL(IAMConfig.InternalSSORealm.JwksEndpointURI). // internal sso (auth.redhat.com) JWK Cert URL Error(fmt.Sprint(errors.ErrorUnauthenticated)). Service(errors.ErrorCodePrefix).