diff --git a/kernel/kernel-websubclient-api/src/main/java/io/mosip/kernel/websub/api/filter/IntentVerificationFilter.java b/kernel/kernel-websubclient-api/src/main/java/io/mosip/kernel/websub/api/filter/IntentVerificationFilter.java index 5ba6858543..9dc7bb79ff 100644 --- a/kernel/kernel-websubclient-api/src/main/java/io/mosip/kernel/websub/api/filter/IntentVerificationFilter.java +++ b/kernel/kernel-websubclient-api/src/main/java/io/mosip/kernel/websub/api/filter/IntentVerificationFilter.java @@ -51,7 +51,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse throws ServletException, IOException { logger.info("inside doFilterInternal"); logger.info("HttpServletRequest request- "+request); - if(request.getRequestURI().contains("health")) { + if(!request.getRequestURI().contains("health")) { String topic = matchCallbackURL(request.getRequestURI()); if (request.getMethod().equals(HttpMethod.GET.name()) && topic != null) { String topicReq = request.getParameter(WebSubClientConstants.HUB_TOPIC);