I am trying to emit roles in jwt token in Angular

Kotha, Srinivas 1 Reputation point
2021-01-04T14:57:53.993+00:00

I am trying to emit Roles in Angular Application using below instruction.

https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-angular

I was successfully validating user, getting roles in general from the account claims and also able to retrieve the JWT Token silently, everything using MSAL Service.

But, trying to achieve the same in JWT Token. accrue token silently but its missing roles. Just wonders, if someone can help me, how to configure it in Azure AD.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.