Skip to content

Commit 461cedd

Browse files
committed
Implemented Feedback
1 parent 569aad2 commit 461cedd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/msal-common/src/cache/CacheManager.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,10 @@ export abstract class CacheManager implements ICacheManager {
390390
return;
391391
}
392392

393-
// homeAccountId can undefined, and we want to filter out cached items that have a homeAccountId of ""
393+
/*
394+
* homeAccountId can undefined, and we want to filter out cached items that have a homeAccountId of ""
395+
* because we don't want a client_credential request to return a cached token that has a homeAccountId
396+
*/
394397
if ((typeof homeAccountId === "string") && !this.matchHomeAccountId(entity, homeAccountId)) {
395398
return;
396399
}

0 commit comments

Comments
 (0)