Path: redb/redb.Templates/templates/redb-app/RedbApp.Web/Pages/Login.razor Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Templates/templates/redb-app/RedbApp.Web/Pages/Login.razor ---- @page "/login" @inject ApiClient Api @inject NavigationManager Navigation Sign in

Sign in

@if (error is not null) {

@error

}

The users are in RedbApp.Host/appsettings.json (Auth:Users).

@code { private readonly LoginRequest request = new(); private string? error; private bool busy; private async Task SignInAsync() { busy = true; error = await Api.LoginAsync(request); busy = false; if (error is null) Navigation.NavigateTo(""); } }