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 period
This commit is contained in:
Michael Telatynski 2021-01-27 12:50:14 +00:00
parent 089afaad93
commit d47948fb7b

View File

@ -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: {}) {