In a simple Blazor Web Assembly App created in Visual Studio with the "Individual User Accounts" option enabled, there is a message "Authorizing..." that appears on page loading:

In an attempt to change its representation, I'm struggling to find where it comes from. Tried to search:
Any ideas where it can hide?
Turns out it is a default value of an AuthorizeRouteView component's parameter Authorizing. To change it just needed to set fragment explicitly:
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
<Authorizing>
<div class="spinner"></div>
</Authorizing>
<NotAuthorized>
@if (!context.User.Identity.IsAuthenticated)
{
<RedirectToLogin />
}
else
{
<p>You are not authorized to access this resource.</p>
}
</NotAuthorized>
</AuthorizeRouteView>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With