diff --git a/public/app/app.ts b/public/app/app.ts index d7fc255af6c..697005cc91c 100644 --- a/public/app/app.ts +++ b/public/app/app.ts @@ -404,6 +404,7 @@ function handleRedirectTo(): void { if (queryParams.has('auth_token')) { // URL Login should not be redirected window.sessionStorage.removeItem(RedirectToUrlKey); + return; } if (queryParams.has(redirectToParamKey) && window.location.pathname !== '/') {