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.