diff --git a/mosip-identity-plugin/src/main/java/io/mosip/esignet/plugin/mosipid/service/HelperService.java b/mosip-identity-plugin/src/main/java/io/mosip/esignet/plugin/mosipid/service/HelperService.java index c255a2a..006c3c9 100644 --- a/mosip-identity-plugin/src/main/java/io/mosip/esignet/plugin/mosipid/service/HelperService.java +++ b/mosip-identity-plugin/src/main/java/io/mosip/esignet/plugin/mosipid/service/HelperService.java @@ -156,6 +156,8 @@ protected SendOtpResult sendOTP(String partnerId, String clientId, IdaSendOtpReq if(responseEntity.getStatusCode().is2xxSuccessful() && responseEntity.getBody() != null) { IdaSendOtpResponse idaSendOtpResponse = responseEntity.getBody(); if(idaSendOtpRequest.getTransactionID().equals(idaSendOtpResponse.getTransactionID()) && idaSendOtpResponse.getResponse() != null){ + log.info("IDA Send OTP Inner Response (JSON): {}", objectMapper.writeValueAsString(idaSendOtpResponse.getResponse())); + log.info("IDA Send OTP Inner Response (RAW): {}", idaSendOtpResponse.getResponse()); return new SendOtpResult(idaSendOtpResponse.getTransactionID(), idaSendOtpResponse.getResponse().getMaskedEmail(), idaSendOtpResponse.getResponse().getMaskedMobile());