Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ public String getScope() {
};

} catch (JWTVerificationException e) {
LOGGER.error("Failed to verify the token with error", e);
throw new NotAuthorizedException("Failed to verify the token");
throw (NotAuthorizedException)
new NotAuthorizedException("Failed to verify the token").initCause(e);
}
}

Expand All @@ -115,6 +115,7 @@ public TokenResponse generateFromToken(
try {
decodedToken = verify(subjectToken);
} catch (NotAuthorizedException e) {
LOGGER.error("Failed to verify the token", e.getCause());
return new TokenResponse(Error.invalid_client);
}
EntityResult principalLookup =
Expand Down