Merge pull request #2033 from ahus1/ahus1_location_fragment_lost_on_logout
Handle URL fragments when redirect from logout / KEYCLOAK-2323
This commit is contained in:
commit
ded919c0a6
1 changed files with 5 additions and 0 deletions
|
@ -682,6 +682,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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue