From 2a896dd70a3bec6c8df21a2677e996395787ed01 Mon Sep 17 00:00:00 2001 From: Monobikash Das Date: Tue, 12 Apr 2022 12:10:18 +0530 Subject: [PATCH] MOSIP-20856 : changed to hardcoded url suggested by Urvil --- .../io/mosip/mimoto/controller/CredentialShareController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/mosip/mimoto/controller/CredentialShareController.java b/src/main/java/io/mosip/mimoto/controller/CredentialShareController.java index f6718dc2..aa2d9677 100644 --- a/src/main/java/io/mosip/mimoto/controller/CredentialShareController.java +++ b/src/main/java/io/mosip/mimoto/controller/CredentialShareController.java @@ -82,7 +82,7 @@ public class CredentialShareController { * @throws Exception */ @PostMapping(path = "/callback/notify", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE) - @PreAuthenticateContentAndVerifyIntent(secret = "${mosip.event.secret}", callback = "${mosip.event.callback.callBackUrl}", topic = "${mosip.event.topic}") + @PreAuthenticateContentAndVerifyIntent(secret = "${mosip.event.secret}", callback = "/v1/mimoto/credentialshare/callback/notify", topic = "${mosip.event.topic}") public ResponseEntity handleSubscribeEvent(@RequestBody EventModel eventModel) throws Exception { logger.info("Received websub event:: transaction id = " + eventModel.getEvent().getTransactionId());