-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Requesting access token with different resource ids showing multiple login screens. #4891
Comments
@v-npadhy , can you pls share your code a screenshot of the prompt you are seeing when accessing resource_id2. |
Have a look at The flow is:
@iulico-1 - I believe WAM supports combined consent, but I don't think we ever wired it up. |
var authResult = await _pca.AcquireTokenInteractive(new string[] { "https://aadrm.com/.default" }) |
@bgavrilMS Could you please check this? |
Please reach out to the service, I don't know what this error means. |
@iulico-1 Could you please check this issue? |
MSAL.runtime currently doesn't support combined consent. This would be a feature ask. For now, please request tokens interactively for each necessary scope. |
Hi @iulico-1 , Is there any roadmap to include this feature? |
This feature is currently not scheduled for execution, but we can add it to our backlog and prioritize it based on all other asks we get. |
Library version used
4.61.3
.NET version
MAUI with .NET8
Scenario
PublicClient - mobile app
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
The app is developed in MAUI and used Microsoft.Identity.Client (4.61.3) nuget package. First time during login I am passing a resource id for ex. resource_Id1. App is launching the MSAL authentication, MSAL prompting system Browser to enter login and password (Interactive Mode)
After login, to get the access to a resource we are passing a different resource id for ex. resource_Id2 to MSAL authentication. This time also I am getting system Browser to enter login and password again (Interactive Mode).
Is this an expected behaviour, and any issue with code?
I want the first authentication with resource_Id1 should be in interactive mode, then the 2nd authentication with resource_id2 should be in silent mode.
Relevant code snippets
No response
Expected behavior
I want the first authentication with resource_Id1 should be in interactive mode, then the 2nd authentication with resource_id2 should be in silent mode.
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response
The text was updated successfully, but these errors were encountered: