Commit 455d32f
When clearing the cache, we should pass user.GetMsalAccountId() because that is the cache key pattern that we are using. The previous code
account.HomeAccountId.Identifier results in a bug for Guest accounts because Account Identifier has a different value than GetMsalAccountId(), resulting in not clearing the proper cache. (#132)1 parent cdff32b commit 455d32f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments