diff --git a/src/frontend/app/login/login.component.ts b/src/frontend/app/login/login.component.ts index c504d49e73aafe15a044e396bd4cf2ab848d883e..9b83f524f8acd6b28ee9ad01fa0f5e6bdee9c60d 100644 --- a/src/frontend/app/login/login.component.ts +++ b/src/frontend/app/login/login.component.ts @@ -121,6 +121,7 @@ export class LoginComponent implements OnInit { const regex = /ticket=[.]*/g; if (window.location.search.match(regex) !== null) { const ssoToken = window.location.search.substring(1, window.location.search.length); + window.history.replaceState({}, document.title, window.location.pathname + window.location.hash); this.onSubmit(ssoToken); } else { window.location.href = this.authService.authUri;