You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feature Request] 2. AddInMemoryTokenCaches and AddDistributedTokenCaches need to use TryAdd instead of Add, not to overwrite any caches added previously (MISE for instance)
#2090
Closed
jmprieur opened this issue
Feb 27, 2023
· 1 comment
Why?
If an application already sets caches implementing a particular interface, we don't want to override them. If they have not set a cache we should do it
Why?
If an application already sets caches implementing a particular interface, we don't want to override them. If they have not set a cache we should do it
What?
See
microsoft-identity-web/src/Microsoft.Identity.Web.TokenCache/InMemory/InMemoryTokenCacheProviderExtension.cs
Line 22 in 05acc37
The text was updated successfully, but these errors were encountered: