Skip to content

Commit

Permalink
remove enroll and verify tokens from query params
Browse files Browse the repository at this point in the history
  • Loading branch information
lashinijay committed Mar 20, 2024
1 parent 473834d commit f425d32
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,11 @@ protected void initiateIproovAuthenticationRequest(HttpServletRequest request, H
Map<String, String> queryParams = new HashMap<>();
if (verifyToken != null) {
context.setProperty(IproovAuthenticatorConstants.VERIFY_TOKEN, verifyToken);
queryParams.put(IproovAuthenticatorConstants.VERIFY_TOKEN, verifyToken);
context.getEndpointParams().put(IproovAuthenticatorConstants.VERIFY_TOKEN, verifyToken);
}
if (enrollToken != null) {
context.setProperty(IproovAuthenticatorConstants.ENROLL_TOKEN, enrollToken);
queryParams.put(IproovAuthenticatorConstants.ENROLL_TOKEN, enrollToken);
context.getEndpointParams().put(IproovAuthenticatorConstants.ENROLL_TOKEN, enrollToken);
}
if (IproovAuthenticatorConstants.Verification.RETRY.equals(request.getParameter(
IproovAuthenticatorConstants.SCENARIO))) {
Expand Down

0 comments on commit f425d32

Please sign in to comment.