Hey @den783245,
Welcome to the Auth0 Community!
To enable role-based authorization in your Blazor application, follow the instructions in this document. I suggest using Actions to add the roles to the token instead of rules.
After this, you can use the authorization components as explained here.
I hope this helps.