# identityserver-hosting-setup

> Claude/Codex skill by [@duendesoftware](https://omgskills.com/library/duendesoftware/index.md) · 9 stars · Updated 2026-10-16

Setting up and hosting Duende IdentityServer in ASP.NET Core applications, including DI registration, middleware pipeline, hosting patterns, essential options, license configuration, and ASP.NET Identity integration.

Tags: ai-agents, claude, claude-code

## Install

```sh
git clone https://github.com/DuendeSoftware/duende-skills /tmp/duende-skills && ln -s /tmp/duende-skills/skills/identityserver-hosting-setup ~/.claude/skills/identityserver-hosting-setup
```

## From README

Setting Up and Hosting IdentityServer When to Use This Skill Setting up a new Duende IdentityServer project from scratch Configuring the ASP.NET Core DI system and middleware pipeline for IdentityServer Deciding between separate vs shared hosting patterns Integrating IdentityServer with ASP.NET Identity for user management Configuring IdentityServerOptions (issuer, key management, endpoints) Setting up proxy/load balancer forwarded headers Configuring data protection for production deployments Understanding the IdentityServer middleware pipeline ordering Docs: https://docs.duendesoftware.com/identityserver/fundamentals Core Concepts Duende IdentityServer is middleware that adds OpenID Connect and OAuth 2.0 endpoints to an ASP.NET Core host. It requires two steps: registering services in DI and adding middleware to the request pipeline. Architecture Decision: Separate vs Shared Host IdentityServer should be in its own dedicated application to minimize the attack surface.

## Links

- HTML page: https://omgskills.com/library/duendesoftware/duende-skills/skills/identityserver-hosting-setup/
- GitHub: https://github.com/DuendeSoftware/duende-skills
- Author: [@duendesoftware](https://omgskills.com/library/duendesoftware/index.md)

## More from this repo

- [aspnetcore-authentication](https://omgskills.com/library/duendesoftware/duende-skills/skills/aspnetcore-authentication/index.md) — ASP.NET Core authentication middleware configuration including OpenID Connect, JWT Bearer, cookie authentication,...
   - [@duendesoftware](https://omgskills.com/library/duendesoftware/index.md) · 9 stars
- [aspnetcore-authorization](https://omgskills.com/library/duendesoftware/duende-skills/skills/aspnetcore-authorization/index.md) — ASP.NET Core authorization patterns including policy-based authorization, IAuthorizationHandler implementations,...
   - [@duendesoftware](https://omgskills.com/library/duendesoftware/index.md) · 9 stars
- [claims-authorization](https://omgskills.com/library/duendesoftware/duende-skills/skills/claims-authorization/index.md) — Claims transformation and profile service patterns for Duende IdentityServer — IProfileService, IClaimsTransformation,...
   - [@duendesoftware](https://omgskills.com/library/duendesoftware/index.md) · 9 stars
