-
Notifications
You must be signed in to change notification settings - Fork 374
Retrieving All Delegated Roles using ADAL.js #713
Comments
@RehanSaeed Can you clarify about the SPA Group? Is it a single application registration with a SPA and an API component? In order to receive the roles claims, you will need to configure your application manifest. Here is a .net sample which shows how the configuration steps which may apply to your app. |
It's as I've written above, two application registrations and a group in the Azure portal. |
To be clear. The API is a separate application to the SPA application and has separate application roles. |
@RehanSaeed can you please explain your user case. Why do you need the roles for both the SPA Application and the API? |
I was wondering if I could use the API roles to perform hide/show parts of the SPA instead of duplicating the role in both the SPA and API. |
I want to show a different navigation items if the user is assigned to a certain group. i can get the user but can't see where i get the groups, any working example of this?
|
Please check AzureAD/microsoft-authentication-library-for-js#1143 for this issue. All current authentication work from microsoft is delivered through |
I have the following scenario:
SPA Application
API Application
SPA Group
When I login using ADAL.js, the user object only contains the roles for the SPA:
Is it possible to also retrieve the roles for the API application?
The text was updated successfully, but these errors were encountered: