[Feature Request] Allow to pass tenantId when requesting application access token
See original GitHub issueIs your feature request related to a problem? Please describe. We would use a multi-tenant application which is authorized in several tenants. In each tenant, the application would be added in the Dynamics CRM as an app user. For each of those, we need to request the token using the tenant authority.
Describe the solution you’d like Add tenantId parameter to GetAccessTokenForAppAsync - similar as in GetAccessTokenForUserAsync
Describe alternatives you’ve considered n/a
Additional context https://github.com/AzureAD/microsoft-identity-web/blob/master/src/Microsoft.Identity.Web/TokenAcquisition.cs
__
Addition. Given that for client credentials, we can only pass one scope (resource/.default
), we’d want to change the signature to pass only one string (instead of a collection)
=> This is a breaking change. So proposing to take it (PM would say easy) in 0.3.0-preview cc: @jennyf19 @henrik-me @pmaytak
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top GitHub Comments
Taking it as there is an API breaking change so I’d like it to be in 0.3.0-preview
Included in 0.3.0-preview release.