ClaudeSuperPower

identityserver-api-protection

Skill

Protecting APIs with Duende IdentityServer: JWT bearer authentication, reference token introspection, scope-based authorization, DPoP/mTLS proof-of-possession validation, local API authentication, and multi-audience scenarios.

Install

git clone https://github.com/DuendeSoftware/duende-skills.git ~/.claude/skills/identityserver-api-protection

What is identityserver-api-protection?

Protecting APIs with Duende IdentityServer: JWT bearer authentication, reference token introspection, scope-based authorization, DPoP/mTLS proof-of-possession validation, local API authentication, and multi-audience scenarios.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~57 tokens of context used while enabled, before you invoke anything

Documentation

README · ~9 min read

Protecting APIs with IdentityServer

When to Use This Skill

  • Configuring JWT bearer authentication in an ASP.NET Core API to validate tokens from IdentityServer
  • Setting up reference token introspection with AddOAuth2Introspection
  • Handling both JWT and reference tokens in the same API using ForwardReferenceToken
  • Implementing scope-based authorization policies
  • Validating Proof-of-Possession tokens (DPoP and mTLS cnf claim)
  • Protecting APIs hosted in the same application as IdentityServer (local API authentication)
  • Securing multi-audience API deployments

Docs: https://docs.duendesoftware.com/identityserver/tokens/api-protection

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.