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
{{ message }}
Repository navigation
[Bug] SingletonTokenAcquisition can be removed #249
You still can. Call services.AddTokenAcquisition(true) at the end of ConfigureServices method. (The related PRs just removed SingletonTokenAcquisition property from MicrosoftIdentityOptions.)
Activity
jennyf19 commentedon Jul 13, 2020
Included in 0.2.0-preview release
sviatoslav-vilkovych commentedon Sep 11, 2020
So, there is no more posibility to have TokenAcquisition registered as a Singleton service, right?
pmaytak commentedon Sep 11, 2020
You still can. Call
services.AddTokenAcquisition(true)at the end ofConfigureServicesmethod. (The related PRs just removedSingletonTokenAcquisitionproperty fromMicrosoftIdentityOptions.)microsoft-identity-web/src/Microsoft.Identity.Web/ServiceCollectionExtensions.cs
Lines 33 to 35 in 7df3679