Registry / managedcode

managedcode/dotnet-skills/configure-auth

Add authentication and authorization to a Blazor Web App, accounting for the app's render mode. USE WHEN the user needs [Authorize] on pages, AuthorizeView, role or policy-based access, login/logout Identity pages, or AuthenticationStateProvider. Also USE WHEN auth state is null after WebAssembly loads, SignInManager throws in an interactive component, NotAuthorized content never renders in static SSR, or HttpContext.User is null in an interactive component. DO NOT USE for general component auth

Agent skill · version 0.0.0-main.1794330586.g268856b · from managedcode/dotnet-skills

Install

npx yarkr-cli add skill:managedcode/dotnet-skills/configure-auth

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/configure-auth
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/configure-auth

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:managedcode/dotnet-skills/configure-auth

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.