Skip to content

Commit

Permalink
suspend NOUNCE check
Browse files Browse the repository at this point in the history
  • Loading branch information
anbernabei authored Oct 29, 2024
1 parent 1253315 commit 1f0dd22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private void validateIdToken(String idToken, HttpSession session) {
if (nonceClaim.isNull() || !nonceClaim.asString().equals(generatedNonce)) {
LOGGER.info("nonceClaim.asString() [{}]",nonceClaim.asString());
LOGGER.error("JWT token nonce [{}] does not match the generated nonce, that is [{}]", nonceClaim, generatedNonce);
throw new SpagoBIRuntimeException("JWT token nonce does not match the generated nonce");
//throw new SpagoBIRuntimeException("JWT token nonce does not match the generated nonce");
}
LOGGER.info("JWT token verified.");
} catch (Exception e) {
Expand Down

0 comments on commit 1f0dd22

Please sign in to comment.