title: How to do Blazor server side web app with azure ADB2C authentication and role based autherization
body: <br>
  I would like to setup an Blazor server side application (NET5) and I already use the **azure AD B2C authentication** and it works fine. Now I would like to add **role based autherization** and don't know how to do it in the best way. 
  <p>As far as I know, azure ADB2C doesn't support <strong>roles</strong> out of the box. I would be fine with storing the users and roles data in seperate sql database in Azure with tables like AspNetUsers and aspNetUserRoles etc. I need a database for my app anyway. I'm wondering how I connect the  <strong>autherization attribute</strong> to this database without damaging the connection to <strong>azure ADB2C connetion for authentication</strong>.</p>
  <p>Is this the best way to do it or is there a better one? If possible, I would like to keep the ADB2C authentication part.</p>
  <p>Thanks for your help and ideas.<br>
  Jörg</p>