Merge pull request #16292 from vector-im/t3chguy/sso_fixes
Use history replaceState instead of redirect for SSO flow
This commit is contained in:
commit
d5a824d6dd
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ function onTokenLoginCompleted() {
|
|||
parsedUrl.search = "";
|
||||
const formatted = url.format(parsedUrl);
|
||||
console.log(`Redirecting to ${formatted} to drop loginToken from queryparams`);
|
||||
window.location.href = formatted;
|
||||
window.history.replaceState(null, "", formatted);
|
||||
}
|
||||
|
||||
export async function loadApp(fragParams: {}) {
|
||||
|
|
Loading…
Reference in a new issue