From b839770341b9fa8b81f41fe598b8d0cf0350083a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Mon, 22 Sep 2025 10:30:47 +0200 Subject: [PATCH] docfix/Add more logging at function passesPsd2ServiceProviderCommon --- obp-api/src/main/scala/code/api/util/APIUtil.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obp-api/src/main/scala/code/api/util/APIUtil.scala b/obp-api/src/main/scala/code/api/util/APIUtil.scala index c352fa46bf..af187aaccc 100644 --- a/obp-api/src/main/scala/code/api/util/APIUtil.scala +++ b/obp-api/src/main/scala/code/api/util/APIUtil.scala @@ -4023,8 +4023,10 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{ case Nil => Failure(RegulatedEntityNotFoundByCertificate) case single :: Nil => + logger.debug(s"Regulated entity by certificate: $single") // Only one match, proceed to role check if (single.services.contains(serviceProvider)) { + logger.debug(s"Regulated entity by certificate (single.services: ${single.services}, serviceProvider: $serviceProvider): ") Full(true) } else { Failure(X509ActionIsNotAllowed)