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
ManagedIdentityClientAssertion gets the wrong MSI token on non public clouds #2749
The MSI FIC token is normally requested for the resource api://AzureADTokenExchange. It turns out that for other clouds, this magic string is different:
Sadly for some air-gapped clouds it's also different and that cannot be hardcoded in MSAL / Id.Web; Even for sovereign clouds we should not hardcode cloud aliases, as these change over time.
Activity
bgavrilMS commentedon Apr 8, 2024
CC Jean-Marc Prieur (@jmprieur) jennyf19
jmprieur commentedon Apr 9, 2024
We can add a new property TokenExchangeUrl in the CredentialDescription. When not present we'd use api://AzureADTokenExchange.
Shouldn't be a P1, Bogdan Gavril (@bgavrilMS) ?
jmprieur commentedon Apr 16, 2024
@kellyyangsong:
We need:
string ? TokenExchangeUrlfor instance here. This property can be null (will be null by default).api://AzureADTokenExchangeOf course you'd need to add a parameter to the constructor, and use it in the CredentialLoader