-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] SingletonTokenAcquisition can be removed #249
Comments
Included in 0.2.0-preview release |
So, there is no more posibility to have TokenAcquisition registered as a Singleton service, right? |
You still can. Call microsoft-identity-web/src/Microsoft.Identity.Web/ServiceCollectionExtensions.cs Lines 33 to 35 in 7df3679
|
Which Version of Microsoft Identity Web are you using ?
Microsoft Identity Web 0.1.5-preview
AddTokenAcquisition isTokenAcquisitionSingleton parameter (never used)
microsoft-identity-web/src/Microsoft.Identity.Web/ServiceCollectionExtensions.cs
Lines 32 to 34 in 0b628e2
See https://github.com/AzureAD/microsoft-identity-web/blob/master/tests/WebAppCallsMicrosoftGraph/appsettings.json#L9
There is an alternative which is that the GraphService registers the ITokenAcquisition as a singleton (the last which does the registration)
Decision:
The text was updated successfully, but these errors were encountered: