mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 06:54:07 +00:00
Add comment to clarify why the identity token needs to be refreshed
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user