Reputation: 3753
I am working angular4 and my application is authenticated with AzureAD SSO.And also I am receiving JWT token from the application and send to my middle wire application and verifying this token from the middle for midle wire request security. Now I need to access the group information from JWT toke? How to parse group information form JWT token ? Any suggestion please, thanks in advance.
Upvotes: 0
Views: 232
Reputation: 14649
To issue group claims in the id_token, we need to change groupMembershipClaims
to SecurityGroup
or All
in the manifest of the app.
“SecurityGroup” groups claim will contain the identifiers of all security groups of which the user is a member.
“All” groups claim will contain the identifiers of all security groups and all distribution lists of which the user is a member.
Here are some articles about group claims:
Authorization in Cloud Applications using AD Groups
Understanding the Azure Active Directory application manifest
Authorization in a web app using Azure AD groups & group claims
Upvotes: 2