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
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.
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
2.17.4
Web app
Sign-in users
Web API
Protected web APIs (validating tokens)
Token cache serialization
In-memory caches
Description
The MSI FIC token is normally requested for the resource
api://AzureADTokenExchange
. It turns out that for other clouds, this magic string is different:Fairfax:
api://AzureADTokenExchangeUSGov
Mooncake:
api://AzureADTokenExchangeChina
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.
Reproduction steps
Try FIC in Mooncake.
Error message
No response
Id Web logs
No response
Relevant code snippets
Regression
No response
Expected behavior
We need to provide a devex where app developers can configure this magic string. MSAL should hide this in public cloud.
The text was updated successfully, but these errors were encountered: