I am trying to restrict access to a Blazor Component with the
@attribute [Authorize(Roles = “admin”)]
I have added the role in the admin. How do I wire this up?
I am trying to restrict access to a Blazor Component with the
@attribute [Authorize(Roles = “admin”)]
I have added the role in the admin. How do I wire this up?
Same question here. Basic authentication and authorisation works, but am not getting anywhere with role based authorisation.
Some help here would be really appreciated.
Thanks.