identity-testing-patterns
OfficialRobust identity testing patterns for auth systems
Software Engineering#testing#authorization#integration-testing#aspire#webapplicationfactory#identityserver#mock-token
AuthorDuendeSoftware
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Integration tests for IdentityServer-based authentication and token workflows become repeatable, reliable, and isolated from live dependencies.
Core Features & Use Cases
- Pattern-based guidance for WebApplicationFactory-based integration tests, mock token issuance, test authority configuration, and protocol validation.
- Comprehensive coverage of IProfileService, authorization policies, BFF session scenarios, and Aspire full-stack testing.
- Real-world examples and test strategies to accelerate validating token issuance, claims, and protected API access.
Quick Start
Set up an in-process IdentityServer test harness and begin validating token issuance, policy enforcement, and BFF flows with the provided patterns.
Dependency Matrix
Required Modules
None requiredComponents
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: identity-testing-patterns Download link: https://github.com/DuendeSoftware/duende-skills/archive/main.zip#identity-testing-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.