Skip to content

Commit

Permalink
[ELY-2353] Add trace logging in
Browse files Browse the repository at this point in the history
org.wildfly.security.http.oidc.TokenValidator#parseAndVerifyToken
  • Loading branch information
ivassile committed Jun 23, 2022
1 parent 3717ba8 commit 86a62c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public VerifiedTokens parseAndVerifyToken(final String idToken, final String acc
JwtClaims jwtClaims = new JwtConsumerBuilder().setSkipSignatureVerification().setSkipAllValidators().build().processToClaims(accessToken);
return new VerifiedTokens(new IDToken(idJwtClaims), new AccessToken(jwtClaims));
} catch (InvalidJwtException e) {
log.tracef("Problem parsing ID token: " + idToken, e);
throw log.invalidIDToken(e);
}
}
Expand Down

0 comments on commit 86a62c2

Please sign in to comment.