Improve SSO auth flow
Use replaceState instead of a redirect to strip the loginToken Put user into the same post-auth flows of E2ESetup Skip UIA prompt in this post-auth flow, happy path is a server grace periodpull/16292/head
parent
089afaad93
commit
d47948fb7b
|
@ -124,7 +124,7 @@ function onTokenLoginCompleted() {
|
||||||
parsedUrl.search = "";
|
parsedUrl.search = "";
|
||||||
const formatted = url.format(parsedUrl);
|
const formatted = url.format(parsedUrl);
|
||||||
console.log(`Redirecting to ${formatted} to drop loginToken from queryparams`);
|
console.log(`Redirecting to ${formatted} to drop loginToken from queryparams`);
|
||||||
window.location.href = formatted;
|
window.history.replaceState(null, "", formatted);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function loadApp(fragParams: {}) {
|
export async function loadApp(fragParams: {}) {
|
||||||
|
|
Loading…
Reference in New Issue