Releases: AzureAD/microsoft-identity-web
1.21.0
1.21.0
Update to Microsoft.Graph 4.10.0, Microsoft.Graph.Beta 4.20.0-preview, MSAL.NET 4.38.0
New Features:
Microsoft.Identity.Web now supports a long running process in web APIs, by leveraging new APIs in MSAL.NET 4.38.0. See the Long running process article and issue #1414 for details.
Bug Fixes:
Honor TenantId
in .WithAppOnly()
. See issue #1536 for details.
Azure Region not prepended to the endpoint, have fixed a regression in the MergedOptions
. See issue #1535 for details.
Update Microsoft.AspNetCore.Authentication.JwtBearer
to 5.0.12, due to security vulnerability in previous version. See issue #1532 for details.
1.20.0
1.20.0
Update to Microsoft.Graph 4.9.0, Microsoft.Graph.Beta 4.19.0-preview, Microsoft.IdentityModel 6.14.1.
New Features:
Microsoft.Identity.Web.TokenCache now offers the possiblity of defining MemoryCacheOptions, such as eviction and size limit options with the InMemoryCache for .NET Framework. See issue #1521 for details.
Bug Fixes:
Bug fix in M.IM.Validators when dealing with multiple auth schemes. See release notes for details.
1.19.0
1.19.0
Update to Microsoft.Graph 4.8.0, Microsoft.Graph.Beta 4.18.0-preview, Microsoft.IdentityModel 6.14, and MSAL.NET 4.37.0.
New Features:
A new assembly, Microsoft.IdentityModel.Validators, is now leveraged in Microsoft.Identity.Web as the AadIssuerValidator. It provides an issuer validator for the Microsoft identity platform (AAD and AAD B2C), working for single and multi-tenant applications and v1 and v2 token types. See Identity.Model and #1487. The MicrosoftIdentityIssuerValidatorFactory
is still in Microsoft.Identity.Web and leverages this new Identity.Model library
Microsoft.Identity.Web now supports authentication handlers other than JwtBearer, and the token acquisition in web API understands a higher level abstraction of SecurityToken, not only JwtSecurityToken
. See #1498.
Bug Fixes:
Make Certificate
in CertificateDescription.cs
protected internal
. See #1484.
1.19.0-preview
1.19.0-preview
This preview release contains a preview version of MSAL.NET, 4.37.0-preview, which includes token cache improvements. The .AddMemoryCache
should now be much faster, but the memory is not bounded, nor does it have any eviction policies, so not recommended for use in production if user flows are involved (GetTokenForUser
). Once MSAL.NET releases 4.37.0, Microsoft.Identity.Web will release an out of preview version as well.
1.18.0
1.18.0
Update to Microsoft.Graph 4.6.0, Microsoft.Graph.Beta 4.14.0-preview, and MSAL.NET 4.36.2.
New Features:
Change RequiredScope to be based on policies and not filters. This enables new scenarios that do not rely on MVC filters. See issue #1002 for details.
Bug Fixes:
Allow customizing the UI processing by decoupling the Microsoft.Identity.Web
and Microsoft.Identity.Web.Ui
packages. See issue #1034 for details.
Use backup authentication system
in docs and comments instead of CCS. See issue #1464 for details.
1.17.0
1.17.0
Microsoft.Identity.Web now provides two additional NuGet packages: Microsoft.Identity.Web.TokenCache and Microsoft.Identity.Web.Certificate. These packages are for ASP.NET Framework and .NET Core apps who want to use the token cache serializers and/or the certificate loader, but do not want all the dependencies brought by the full Microsoft.Identity.Web package. If you are on ASP.NET Core, continue to use Microsoft.Identity.Web. See issue #1431 for details.
1.16.1
1.16.1
Update to Microsoft.Graph 4.4.0, Microsoft.Graph.Beta 4.11.0-preview, and MSAL.NET 4.36.0.
Bug Fixes:
Handle a SuggestedCacheExpiry
in the past. See issue #1419 for details.
Fix a NullReferenceException
when calling GetTokenForApp
from an anonymous controller. See issues #1372 and #1348 for details.
1.16.0
1.16.0
Update to IdentityModel 6.* and Microsoft.Graph 4.2.0 and Microsoft.Graph.Beta 4.7.0-preview.
New Features:
The MsalDistributedTokenCacheAdapterOptions
now expose a boolean DisableL1Cache
, which will bypass the InMemory (L1) cache and only use the Distributed cache. See issue #1388 for details.
When using ASP.NET Individual auth, Microsoft Identity Web provides an overload to define the DisplayName
of the Identity Provider. See issue #808 for details.
Bug Fixes:
In .NET Framework, when recreating the CCA each time, the cache is not hit. Now the ServiceProvider for the InMemory or Distributed cache is not instantiated each time. See issue #1390 for details.
The NonceCookie and CorrelationCookie configurations are now hooked up correctly in Microsoft Identity Web. See issue #1262 for details.
Fix a transitive ArgumentException
when adding a preexisting key in the Temp Data. See PR #1382 for details.
Fix a KeyNotFoundException
when calling WithAppOnly()
. See issue #1365 and PR #1377 for details.
Remove context.Success()
in the web API so that further middleware processing can occur. See issue #929 for details.
1.15.2
1.15.2
Update to the latest version of MSAL .NET (4.35.1).
Bug Fixes:
Use CreateAuthorizationHeader()
for GraphClientService requests, which enables support for other schemes, like PoP. See issue (#1355)[https://github.com//issues/1355] for details.
Fix NullReferenceException when customer invokes OnTokenValidated
. Microsoft Identity Web now processes the custom OnTokenValidated
after setting the OBO token. See issue #1348 for details.