Configure Auth Step 1 — Read AGENTS.md Read at the workspace root for the project's interactivity mode and scope before making changes. Step 2 — Register auth services in Program.cs For ASP.NET Core Identity add the Identity services: Step 3 — Wire App.razor for auth and render mode The component must use and conditionally apply the render mode so that pages excluded from interactive routing render statically. In (or wherever the router lives), use : Step 4 — Protect pages and components [Authorize] attribute on pages With roles or policies: AuthorizeView for conditional UI Role/policy varian…