I'm working on a Blazor WebAssembly project and I'm trying to customize the behavior of the component in my "Register component". Somehow I can't overwrite the app.razor given value of NotAuthorized
The solution to this problem was to add the
@using Microsoft.AspNetCore.Authorization on the component or in _import.razor