# What is Blazor? A Tutorial on Building Web Apps with Authentication

**URL:** <https://community.auth0.com/t/what-is-blazor-a-tutorial-on-building-web-apps-with-authentication/33611>\
**Category:** Get Help\
**Tags:** dotnet, net-core, aspnet-core, .net, blazor\
**Created:** [November 11, 2019, 2:56pm UTC](https://community.auth0.com/t/what-is-blazor-a-tutorial-on-building-web-apps-with-authentication/33611 "2019-11-11T14:56:06Z")\
**Posts on this page:** 1\
**Showing post:** 143

<div class="post-metadata">

**Author:** ![andrea.chiarelli](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andrea.chiarelli/32/16034_2.png) [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Post date:** [January 21, 2023, 10:09am UTC](https://community.auth0.com/t/what-is-blazor-a-tutorial-on-building-web-apps-with-authentication/33611/143 "2023-01-21T10:09:31Z")

</div>

Hey @den783245,  
Welcome to the Auth0 Community!

To enable role-based authorization in your Blazor application, follow the instructions in [this document](https://github.com/auth0/auth0-aspnetcore-authentication/blob/main/EXAMPLES.md#roles). I suggest using [Actions](https://auth0.com/blog/introducing-auth0-actions/) to add the roles to the token instead of rules.

After this, you can use the authorization components as explained [here](https://learn.microsoft.com/en-us/aspnet/core/blazor/security#authorization).

I hope this helps.

---

_[View the full topic](https://community.auth0.com/t/what-is-blazor-a-tutorial-on-building-web-apps-with-authentication/33611)._
