Jamsheer
Jamsheer

Reputation: 3753

Azure group details retrieve from JWT token

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

Answers (1)

Fei Xue
Fei Xue

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

Related Questions