Inject ITokenAcquisition in Singleton Service does not work with ASPNETCORE_ENVIRONMENT=Development
I noticed something strange when injecting ITokenAcquisition.
You can find my code to reproduce the issue here: Github Repo
I use the NuGet Microsoft.Identity.Web 2.18.0 to enable MSAL authentication in my ASP.NET Api (.NET 7)