DEV Community

Discussion on: Using custom claims for Azure AD B2C roles

Collapse
 
p_gururani profile image
Pradeep Gururani

You also need to call app.UseAuthorization(); in addition to adding this policy. You need to add custom attribute Role to your User object. Have you done that?