identityserver-aspire

Official

Orchestrate IdentityServer in Aspire reliably.

AuthorDuendeSoftware
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Coordinate the orchestration of Duende IdentityServer within an Aspire AppHost, ensuring dependent services start only after IdentityServer is healthy, discovered, and properly wired.

Core Features & Use Cases

  • AppHost orchestration: wire IdentityServer as a startup dependency using WithReference() and WaitFor() to enforce startup order.
  • Dependency graphs and health readiness: build explicit dependency graphs so services can discover IdentityServer endpoints safely and wait for readiness.
  • Authority URL & OIDC configuration: propagate IdentityServer authority URL and client IDs to clients via environment variables to enable consistent authentication flows.
  • Shared databases and stores: configure separate databases for IdentityServer and applications, and ensure IdentityServer EF stores use shared connections where appropriate.
  • Health checks and readiness: expose /health, /ready endpoints and optional custom health checks to guarantee IdentityServer readiness before dependents start.
  • Multi-instance considerations: support multiple replicas with shared signing keys, data protection keys, and a shared operational store.

Quick Start

Configure your Aspire AppHost to add the IdentityServer project, wire its references, and enable health checks and replica awareness.

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: identityserver-aspire
Download link: https://github.com/DuendeSoftware/duende-skills/archive/main.zip#identityserver-aspire

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.