From 5ceddb07df73e0b3a9693495d29d9c568151793b Mon Sep 17 00:00:00 2001 From: "Kristen.Herum" Date: Tue, 21 Jan 2025 14:56:32 +0100 Subject: [PATCH] =?UTF-8?q?Lagt=20p=C3=A5=20logging=20II=20#deploy-profil-?= =?UTF-8?q?api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../no/nav/testnav/libs/servletsecurity/action/GetUserInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/servlet-security/src/main/java/no/nav/testnav/libs/servletsecurity/action/GetUserInfo.java b/libs/servlet-security/src/main/java/no/nav/testnav/libs/servletsecurity/action/GetUserInfo.java index 5a99da65d4..bdbb82f629 100644 --- a/libs/servlet-security/src/main/java/no/nav/testnav/libs/servletsecurity/action/GetUserInfo.java +++ b/libs/servlet-security/src/main/java/no/nav/testnav/libs/servletsecurity/action/GetUserInfo.java @@ -35,7 +35,7 @@ public Optional call() { var jwt = JWT.decode(token); var verifier = JWT.require(Algorithm.HMAC256(secret)).build(); verifier.verify(jwt); - log.info("jwt ---> {}", jwt); + log.info("jwt ---> {}", jwt.getToken()); return new UserInfo( jwt.getClaim(UserConstant.USER_CLAIM_ID).asString(), jwt.getClaim(UserConstant.USER_CLAIM_ORG).asString(),