angular msal v2 missing group claims

Published

I’m looking to upgrade my angular app from MSAL v1 to MSAL v2, and one problem I have is the jwt token that the guard adds to requests does not include the group field in the payload anymore.
We use group membership to decide who can access what so this is a big blocker of course.

Is there some client side config I’m missing required to get the group claims to show up in the token for MSAL v2 ? I’ve tried the scopes openid, user.read and profile, not sure if that’s even where I should be looking.

Group claims do show up in MSAL v1 tokens, so I’m assuming the Azure config is valid.

Thank you

Source: Angular Questions

Published
Categorized as angular, msal-angular Tagged ,

Answers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq