Answer
Use role-based authorization with:
[Authorize(Roles="Admin,Manager")]
Roles are validated from claims inside the JWT or identity provider.
Use role-based authorization with:
[Authorize(Roles="Admin,Manager")]
Roles are validated from claims inside the JWT or identity provider.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ