The Keycloak JS adapter should not mutate browser history state

This commit is contained in:
BaHwan Han 2018-10-18 19:25:14 +09:00 committed by Stian Thorgersen
parent e843297238
commit 91c4bfa81c

View file

@ -180,7 +180,7 @@
var callback = parseCallback(window.location.href); var callback = parseCallback(window.location.href);
if (callback) { if (callback) {
window.history.replaceState({}, null, callback.newUrl); window.history.replaceState(window.history.state, null, callback.newUrl);
} }
if (callback && callback.valid) { if (callback && callback.valid) {