diff --git a/integration/js/src/main/resources/keycloak.js b/integration/js/src/main/resources/keycloak.js index d6392ac1fb..d3881afca2 100755 --- a/integration/js/src/main/resources/keycloak.js +++ b/integration/js/src/main/resources/keycloak.js @@ -608,7 +608,7 @@ var origin = loginIframe.iframeOrigin; loginIframe.iframe.contentWindow.postMessage(msg, origin); } else { - promise.setError(); + promise.setSuccess(); } return promise.promise;