identityserver-token-security

Configures IdentityServer for DPoP, mTLS, PAR, JAR, and FAPI 2.0 token binding.

10|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DuendeSoftware/duende-skills --skill identityserver-token-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: identityserver-token-security
Source: https://github.com/DuendeSoftware/duende-skills/tree/main/skills/identityserver-token-security
Command: npx skills add https://github.com/DuendeSoftware/duende-skills --skill identityserver-token-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Token leakage and misuse are risks when using bearer access tokens. This Skill enables cryptographic binding of tokens to clients (via DPoP, mTLS) and supports advanced flows (PAR, JAR) to harden OAuth security and regulatory compliance.

Core Features & Use Cases

  • Enable DPoP-based proof-of-possession token binding to client keys
  • Support mTLS token binding and certificate-based client authentication
  • Enable PAR and JAR to protect authorization parameters and requests
  • Align with FAPI 2.0 security requirements in Open Banking/regulated contexts
  • Use Case: Strengthen a Duende IdentityServer deployment for finance/health sectors requiring strong token binding

Quick Start

Configure your IdentityServer deployment to enable DPoP, PAR, JAR, and FAPI 2.0 features for sender-constrained tokens and compliance.

Frequently Asked Questions about identityserver-token-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent OAuth bearer token theft and misuse in enterprise deployments?

DPoP (Demonstrating Proof-of-Possession) binds access tokens to client keys by requiring cryptographic proofs on each request. This sender-constrains tokens so they cannot be used without the client's private key.

How do I configure DPoP token binding in Duende IdentityServer?

Configure DPoP token binding in Duende IdentityServer by enabling DPoP validation settings to require proof-of-possession on access token requests. This cryptographically binds tokens to client keys to prevent misuse.

Do I need PAR and JAR to achieve FAPI 2.0 compliance in Open Banking?

PAR protects authorization request parameters by pushing them directly to the authorization server via a back-channel POST request, preventing parameter tampering and leakage through the front channel.

Does Duende IdentityServer support mTLS certificate-based client authentication?

mTLS token binding cryptographically links access tokens to the client's TLS certificate. The authorization server validates the certificate fingerprint on each request, rejecting tokens presented without the matching certificate.

How do I configure FAPI 2.0 clock skew and algorithm constraints for OAuth?

FAPI 2.0 enforces stricter security profiles than standard OAuth, including mandatory sender-constraining of tokens, PAR, JAR, and specific algorithm requirements to meet regulatory demands in finance and healthcare sectors.

What is the difference between DPoP and mTLS for sender-constrained tokens?

DPoP binds tokens to client keys via cryptographic proofs in application headers, while mTLS binds tokens to client certificates at the transport layer. Both prevent token replay but operate at different network layers.