From 95a1fc32ebe0f65742c72b03ab5c5a86ad035705 Mon Sep 17 00:00:00 2001 From: mposolda Date: Fri, 18 Mar 2016 12:06:28 +0100 Subject: [PATCH] KEYCLOAK-2681 JS adapter init function with initOptions argument doesn't call success callback --- adapters/oidc/js/src/main/resources/keycloak.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adapters/oidc/js/src/main/resources/keycloak.js b/adapters/oidc/js/src/main/resources/keycloak.js index 30453e3871..6aa116aebb 100755 --- a/adapters/oidc/js/src/main/resources/keycloak.js +++ b/adapters/oidc/js/src/main/resources/keycloak.js @@ -163,6 +163,8 @@ } } else if (initOptions.onLoad) { onLoad(); + } else { + initPromise.setSuccess(); } } else { initPromise.setSuccess();