identityserver-stores

Configure Duende IdentityServer EF Core stores for configuration and operational data.

10|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DuendeSoftware/duende-skills --skill identityserver-stores
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: identityserver-stores
Source: https://github.com/DuendeSoftware/duende-skills/tree/main/skills/identityserver-stores
Command: npx skills add https://github.com/DuendeSoftware/duende-skills --skill identityserver-stores

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure and manage Duende IdentityServer's EF Core stores for both configuration and operational data.

Core Features & Use Cases

  • EF Core-backed configuration and operational stores for IdentityServer
  • Support for migrations, multi-tenant patterns, and server-side sessions
  • Caching, signing key storage, and token cleanup integration for production deployments

Quick Start

Initialize IdentityServer to use EF Core stores by wiring up ConfigurationDbContext and PersistedGrantDbContext and enabling operational store options as described.

Frequently Asked Questions about identityserver-stores

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Duende IdentityServer EF Core stores for configuration and operational data?

To configure Duende IdentityServer EF Core stores, you wire up ConfigurationDbContext and PersistedGrantDbContext, enabling operational store options and enforcing DI registration for both configuration and operational data management.

What is the best way to handle migrations and schema management for IdentityServer operational stores?

Handling migrations and schema management for IdentityServer operational stores requires applying migration hosting patterns alongside EF Core schema configurations to ensure production-ready data persistence across deployments.

Can I implement multi-tenant patterns and server-side sessions using IdentityServer stores?

Yes, you can implement multi-tenant patterns and server-side sessions using IdentityServer stores by configuring EF Core operational data contexts and applying appropriate data protection and token handling strategies.

Does IdentityServer EF Core store configuration support caching and signing key storage for production deployments?

IdentityServer EF Core store configuration supports caching, signing key storage, and token cleanup integration, providing production-grade key and token handling capabilities necessary for scaling secure deployments.

Do I need custom store implementations if I want to scale IdentityServer data persistence?

Custom store implementations are optional for scaling IdentityServer data persistence; the built-in EF Core stores handle configuration and operational data effectively, but custom stores can be enforced for specialized data protection or migration requirements.

Why does IdentityServer require data protection and DI registration when setting up EF Core stores?

IdentityServer requires data protection and DI registration when setting up EF Core stores to enforce secure key handling, manage persisted grants safely, and ensure operational store options function correctly across application deployments.