From 4ddfc1e398441afde84337170e3e765bff36f390 Mon Sep 17 00:00:00 2001 From: Rui Tome Date: Mon, 27 Jan 2025 15:42:26 +0000 Subject: [PATCH] Refresh identity token on SyncOrgKeys notification message --- libs/common/src/services/notifications.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/common/src/services/notifications.service.ts b/libs/common/src/services/notifications.service.ts index f88c904bee1..416a99f3a9a 100644 --- a/libs/common/src/services/notifications.service.ts +++ b/libs/common/src/services/notifications.service.ts @@ -192,6 +192,7 @@ export class NotificationsService implements NotificationsServiceAbstraction { break; case NotificationType.SyncOrgKeys: if (isAuthenticated) { + await this.apiService.refreshIdentityToken(); await this.syncService.fullSync(true); // Stop so a reconnect can be made await this.signalrConnection.stop();