From b7ac2548f141f303fdb1185b858aaf9025e59c2e Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Thu, 14 Jan 2016 23:06:16 +0100 Subject: [PATCH] Handle URL fragments when redirect from logout / KEYCLOAK-2323 --- integration/js/src/main/resources/keycloak.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration/js/src/main/resources/keycloak.js b/integration/js/src/main/resources/keycloak.js index a74e1ccae7..723591c948 100755 --- a/integration/js/src/main/resources/keycloak.js +++ b/integration/js/src/main/resources/keycloak.js @@ -681,6 +681,11 @@ oauth.newUrl += '#' + oauth.fragment; } + return oauth; + } else if (oauth.fragment) { + // logout has been performed, fragment needs to be updated in URL + oauth.newUrl += '#' + oauth.fragment; + return oauth; } }