You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on implementing role-based authorization within your template.
In the Startup.cs of Infrastructure, I have already included the .AddRoles<IdentityRole>() configuration.
Furthermore, I have successfully added roles to the database, assigned roles to users, and incorporated roles into JWT claims.
However, I am encountering an issue where, even though I possess the required role, I consistently receive a 403 error when attempting to access methods protected by that role.
What am I missing here ?
Thank you in advance for your support.
Best regards,
The text was updated successfully, but these errors were encountered:
Hi,
I am working on implementing role-based authorization within your template.
In the Startup.cs of Infrastructure, I have already included the
.AddRoles<IdentityRole>()
configuration.Furthermore, I have successfully added roles to the database, assigned roles to users, and incorporated roles into JWT claims.
However, I am encountering an issue where, even though I possess the required role, I consistently receive a 403 error when attempting to access methods protected by that role.
What am I missing here ?
Thank you in advance for your support.
Best regards,
The text was updated successfully, but these errors were encountered: