From 443bd4a1baa229cf674cb2b617df8838fc92d22d Mon Sep 17 00:00:00 2001 From: Sanket Bhalerao Date: Fri, 30 Jul 2021 20:10:36 +0530 Subject: [PATCH] KEYCLOAK-15595: update keycloak js for KEYCLOAK-15595 while working on cordova+angular+ios the keycloak logout is not working. as the user clicks logout the user can again see the app instead of the inappbrowser page for login. with clearcache=yes in the inappbrowser open the issue appears no more. --- adapters/oidc/js/src/main/resources/keycloak.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/oidc/js/src/main/resources/keycloak.js b/adapters/oidc/js/src/main/resources/keycloak.js index 315bf9b528..936a3c3c36 100755 --- a/adapters/oidc/js/src/main/resources/keycloak.js +++ b/adapters/oidc/js/src/main/resources/keycloak.js @@ -1496,7 +1496,7 @@ var promise = createPromise(); var logoutUrl = kc.createLogoutUrl(options); - var ref = cordovaOpenWindowWrapper(logoutUrl, '_blank', 'location=no,hidden=yes'); + var ref = cordovaOpenWindowWrapper(logoutUrl, '_blank', 'location=no,hidden=yes,clearcache=yes'); var error;