Skip to content

2.13.3

Compare
Choose a tag to compare
@JoshLozensky JoshLozensky released this 17 Aug 17:56
· 324 commits to master since this release
b0eb96a
  • Update to Wilson 7.0.0-preview2 on .NET 8.

New features:

  • Support langversion 11, which as fewer allocations compared to 10, see issue #2351 for details.
  • In AspNET Core 3.1 and Net 5+, Microsoft.Identity.Web now use the DefaultTokenAcquisitionHost (the host for SDK apps) instead of the Asp.NET Core one, when the service collection was not initialized by ASP.NET Core.
    • This means the IWebHostEnvironment is not present in the collection.
    • If you want the ASP.NET Core host, you would need to use the WebApplication.CreateBuilder().Services instead of instantiating a simple service collection.
  • In web APIs, GetAuthenticationResultForUserAsync tries to find the inbound token from user.Identity.BootstrapContext first (if not null), and then from the token acquisition host. This will help for non-asp.NET Core Azure functions for instance, see issue #2371 for details.