4.16.0
New Features
MSAL exposes a SuggestedCacheKey property in TokenCacheNotificationArgs. This property will help determine the token cache location in web site / web API / daemon app scenarios, making it easier to adapt MSAL's token cache to a general purpose distributed cache. Issue for details
MSAL hardens its HTTP stack to prevent port exhaustion. Before this improvement, MSAL would use an HttpClient
object for each request. In high scale scenarios, this can lead to port exhaustion, as disposing of HttpClient
does not release ports. With this improvement, MSAL uses a static HttpClient
, which prevents port exhaustion, combined with platform specific techniques to respect DNS changes. This change affects .NET classic and .NET core implementations. Issue for details
Bug Fixes
MSAL no longer misses the cache when an empty scope is requested. Issue for details