From 59f155691fe979fa8cce36102417ac48075350e9 Mon Sep 17 00:00:00 2001 From: ZiyamSanthosh Date: Fri, 7 Feb 2025 01:05:44 +0530 Subject: [PATCH 1/2] Fix issue with push check status endpoint --- .../apps/authentication-portal/src/main/webapp/pushAuth.jsp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/identity-apps-core/apps/authentication-portal/src/main/webapp/pushAuth.jsp b/identity-apps-core/apps/authentication-portal/src/main/webapp/pushAuth.jsp index 21e7195f0f8..f942c48c87f 100644 --- a/identity-apps-core/apps/authentication-portal/src/main/webapp/pushAuth.jsp +++ b/identity-apps-core/apps/authentication-portal/src/main/webapp/pushAuth.jsp @@ -314,14 +314,12 @@ pollingInterval = setInterval(() => { $.ajax({ - url: STATUS_URL, + url: "<%= Encode.forJavaScriptBlock(identityServerEndpointContextParam)%>" + STATUS_URL, type: "GET", contentType: "application/json", success: function (response) { if (response.status === "COMPLETED") { clearInterval(pollingInterval); - document.getElementById("instruction-div").style.display = "none"; - $("#responseReceived").transition("fade"); setTimeout(() => { document.getElementById("scenario").value = "PROCEED_PUSH_AUTHENTICATION"; $("#submitForm").submit(); From 250d8ec84aeee89aba7ddbacf400898dc972aeb5 Mon Sep 17 00:00:00 2001 From: ZiyamSanthosh Date: Fri, 7 Feb 2025 01:09:16 +0530 Subject: [PATCH 2/2] add changeset --- .changeset/lucky-ladybugs-yawn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/lucky-ladybugs-yawn.md diff --git a/.changeset/lucky-ladybugs-yawn.md b/.changeset/lucky-ladybugs-yawn.md new file mode 100644 index 00000000000..c4fe3b7a84d --- /dev/null +++ b/.changeset/lucky-ladybugs-yawn.md @@ -0,0 +1,5 @@ +--- +"@wso2is/identity-apps-core": patch +--- + +Fix push status check endpoint issue with tenanted users.