Skip to content

Commit

Permalink
fix: Added crucial MFA event logs (2)
Browse files Browse the repository at this point in the history
fixes AM-2887
  • Loading branch information
lgw-gravitee committed May 6, 2024
1 parent aa40a49 commit 376491f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ private void handleFido2Factor(RoutingContext routingContext, Client client, Use


updateStrongAuthStatus(routingContext);
logger.info("User {} strongly authenticated", endUser.getId());
logger.debug("User {} strongly authenticated", endUser.getId());
// set the credentialId in session
routingContext.session().put(ConstantKeys.WEBAUTHN_CREDENTIAL_ID_CONTEXT_KEY, credentialId);
final Credential credential = ch.result();
Expand Down Expand Up @@ -413,7 +413,7 @@ private void verify(FactorProvider factorProvider, FactorContext factorContext,
}
},
error -> {
logger.info("Challenge failed for user {}", factorContext.getUser().getId());
logger.debug("Challenge failed for user {}", factorContext.getUser().getId());
final EnrolledFactor enrolledFactor = (EnrolledFactor) factorContext.getData().get(FactorContext.KEY_ENROLLED_FACTOR);
verifyAttemptService.incrementAttempt(factorContext.getUser().getId(), enrolledFactor.getFactorId(),
factorContext.getClient(), domain, verifyAttempt).subscribe(
Expand Down

0 comments on commit 376491f

Please sign in to comment.