From 21f35bd4a2371ecf9dd4c11833fb4797585c4105 Mon Sep 17 00:00:00 2001 From: Jared Snider Date: Fri, 28 Feb 2025 09:35:19 -0500 Subject: [PATCH] PM-18654 - Desktop Login Component - listenForUnauthUiRefreshFlagChanges used base component destroy which was overridden and not called so the subscription stayed active. During initial login, this would emit (even on other components) and force navigation to the root and interrupt the SSO process while JIT provisioning users - often before the Org SSO identifier could be set into state. --- apps/desktop/src/auth/login/login-v1.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/auth/login/login-v1.component.ts b/apps/desktop/src/auth/login/login-v1.component.ts index 5d1a1d818d5..d614ca3fff3 100644 --- a/apps/desktop/src/auth/login/login-v1.component.ts +++ b/apps/desktop/src/auth/login/login-v1.component.ts @@ -156,7 +156,7 @@ export class LoginComponentV1 extends BaseLoginComponent implements OnInit, OnDe }); } }), - takeUntil(this.destroy$), + takeUntil(this.componentDestroyed$), ) .subscribe(); }