@page "/logout" @using BlazorWebAssembly.Services @inject AuthService AuthService @inject NavigationManager Navigation

Signing Out

Please wait while we secure your session...

@code { protected override async Task OnInitializedAsync() { await AuthService.Logout(); // Brief delay for UX/Smoothness await Task.Delay(800); Navigation.NavigateTo("/login"); } }