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
I have a question regarding Azure Entra (formerly Azure AD) and its handling of access tokens for multiple resources. As far as I understand, Azure Entra does not allow fetching a single access token that includes scopes for multiple resources.
For example, let's say I want to access two different APIs:
A custom API that requires the scope API://xxxxxxxxxxxxx/Read.All.
Microsoft Graph API, which requires the scope Mail.Send.
To obtain access tokens for these two resources, it seems necessary to make two separate authentication calls — one for each resource.
Here are my questions:
Does this library support a scenario where I can get a second access token silently, without requiring the user to re-authenticate, by simply changing the requested scope?
If this is supported, could you provide an example or a recommended approach to achieve this?
The goal is to ensure a smooth user experience where I can fetch additional tokens for different resources without redundant user prompts.
The text was updated successfully, but these errors were encountered:
I have a question regarding Azure Entra (formerly Azure AD) and its handling of access tokens for multiple resources. As far as I understand, Azure Entra does not allow fetching a single access token that includes scopes for multiple resources.
For example, let's say I want to access two different APIs:
To obtain access tokens for these two resources, it seems necessary to make two separate authentication calls — one for each resource.
Here are my questions:
The goal is to ensure a smooth user experience where I can fetch additional tokens for different resources without redundant user prompts.
The text was updated successfully, but these errors were encountered: