microsoftgraph / msgraph-sdk-dotnet-auth

Archived - use the TokenCredential classes provided by Azure.Identity. https://docs.microsoft.com/en-us/dotnet/api/overview/azure/identity-readme
https://graph.microsoft.com
MIT License
78 stars 19 forks source link

Acquire Token Silent WithAuthority Fix #55

Closed peombwa closed 4 years ago

peombwa commented 4 years ago

This PR is a mitigation to https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/1456. It skips setting of an authority url to MSAL's .AcquireTokenSilentParameterBuilder when the authority url segment contains one of the following: common, consumers, and organizations.