claims-authorization

Official

Fine-grained identity claims control for IdentityServer.

AuthorDuendeSoftware
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Mapping and controlling claims emitted by IdentityServer is complex and error-prone; this skill provides patterns and examples for IProfileService, IClaimsTransformation, and extension grants to ensure accurate, scope-aware claims loading, mapping, and filtering.

Core Features & Use Cases

  • Dynamic claims loading: fetches and emits claims at token issuance based on user, client, and scope.
  • Profile service patterns: demonstrates implementing IProfileService with GetProfileDataAsync and IsActiveAsync for robust token customization.
  • Extension grants and external providers: shows how to propagate custom claims from token exchanges and map external provider claims into the local user profile.

Quick Start

Implement a custom profile service by extending DefaultProfileService and override GetProfileDataAsync to load dynamic claims from your data source.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: claims-authorization
Download link: https://github.com/DuendeSoftware/duende-skills/archive/main.zip#claims-authorization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.