diff --git a/libs/common/src/platform/notifications/internal/default-notifications.service.ts b/libs/common/src/platform/notifications/internal/default-notifications.service.ts index caa3fbb4773..4bdd112658d 100644 --- a/libs/common/src/platform/notifications/internal/default-notifications.service.ts +++ b/libs/common/src/platform/notifications/internal/default-notifications.service.ts @@ -188,6 +188,7 @@ export class DefaultNotificationsService implements NotificationsServiceAbstract break; case NotificationType.SyncOrgKeys: if (await this.configService.getFeatureFlag(FeatureFlag.PushSyncOrgKeysOnRevokeRestore)) { + // Refresh the identity token to ensure organization roles in JWT claims are up-to-date await this.apiService.refreshIdentityToken(); } await this.syncService.fullSync(true);