aspnetcore-authentication
ASP.NET Core authentication middleware configuration including OpenID Connect, JWT Bearer, cookie authentication, authentication schemes, challenge/forbid flows, and external identity provider integration.
Install
With your agent
Install OMGSkills skill "duendesoftware/duende-skills:skills/aspnetcore-authentication" into this agent's normal skills directory: use the OMGSkills MCP get_skill tool, install only the pinned_install commit and path, verify SKILL.md against pinned_install.skill_md_sha, and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/DuendeSoftware/duende-skills /tmp/duende-skills && ln -s /tmp/duende-skills/skills/aspnetcore-authentication ~/.claude/skills/aspnetcore-authentication
From README
ASP.NET Core Authentication When to Use This Skill Use this skill when: Configuring OIDC authentication in an ASP.NET Core web application Setting up JWT Bearer authentication for an API Managing authentication schemes (cookies, OIDC, JWT, external providers) Implementing challenge, sign-in, sign-out, and forbid flows Debugging authentication failures (401s, redirect loops, claim mapping issues) Integrating with Duende IdentityServer as an OpenID Connect provider Configuring token validation parameters Core Principles Authentication ≠ Authorization — Authentication establishes who the user is. Authorization (see aspnetcore-authorization) determines what they can do. Scheme-Based Architecture — ASP.NET Core authentication is built around named schemes. Each scheme has a handler that knows how to authenticate, challenge, and sign out. Cookies for Web Apps, JWT for APIs — Web applications use cookie authentication (with OIDC for login). APIs use JWT Bearer or introspection.
More from this repo
aspnetcore-authorization
ASP.NET Core authorization patterns including policy-based authorization, IAuthorizationHandler implementations,...
claims-authorization
Claims transformation and profile service patterns for Duende IdentityServer — IProfileService, IClaimsTransformation,...
duende-bff
Duende BFF (Backend for Frontend) security framework for securing SPAs.
