-
Notifications
You must be signed in to change notification settings - Fork 219
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] Token acquisition from different tenant not working #344
Comments
@zvrba I'm not able to repro this at the moment. Could you verify if the tenant admin has disabled user consent? |
The application has a tenant-wide admin consent. I'm not sure which setting you're asking about, so I'm attaching a screenshot below. Further details:
Debugging showed me a bunch of MSAL exceptions ("login hint not provided") which i traced back to the |
@zvrba thanks for the additional info. I didn't see the patch in the original post, will take a look. thx. |
This issue is fixed in microsoft identity web, but there is an additional fix needed in msal .net, so moving this to blocked for now. That work will be in progress soon. |
moving this to done for us, as MSAL .NET has a fix that will go out in their next release. |
Included in 0.2.2-preview release |
Which version of Microsoft Identity Web are you using?
Commit ID 8a043b7 , but the same problem experienced also with -master dated 2020-07-21.
Where is the issue?
Is this a new or an existing app?
The app is in production and I have upgraded to a new version of Microsoft Identity Web.
Repro
Expected behavior
Token issued by tenant B.
Actual behavior
When user in tenant A is a guest user in tenant B (identified by "tid"), this call returns a token issued by tenant A instead of token issued by tenant B ("tid").
Possible solution
Please see the attached patch. This is the same bug I previously reported for an older version.
TokenAcquisition.cs.txt
The text was updated successfully, but these errors were encountered: