The Keycloak JS adapter should not mutate browser history state
This commit is contained in:
parent
e843297238
commit
91c4bfa81c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue