RBAC in web app registered under Azure B2C Tenant

Anonymous
2022-05-04T12:37:22.367+00:00

I have a web app and web api (both in .net core) registered under Azure B2C Tenant. I have configured user flow for authenticating the users of web app using gmail as the identity provider. I have created app roles in the manifest of web app and assigned to users of this app. How can I get these app roles assigned to users once they log into the web app so that I can include it in the access token for further authorization?

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

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