Skip to content

Commit

Permalink
Merge pull request #7525 from ZiyamSanthosh/push-fix-polling-url-issue
Browse files Browse the repository at this point in the history
Fix issue with push check status endpoint
  • Loading branch information
ZiyamSanthosh authored Feb 6, 2025
2 parents 1427209 + 250d8ec commit 76c7eda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/lucky-ladybugs-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

Fix push status check endpoint issue with tenanted users.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 76c7eda

Please sign in to comment.