@page "/auth" @using Microsoft.AspNetCore.Authorization @attribute [Authorize] @rendermode InteractiveAuto Auth

You are authenticated

Hello @context.User.Identity?.Name!