Configuring Custom Database Schemas for Duende IdentityServer
DB Contexts in IdentityServer Entity Framework Core’s default behavior is to create all tables in the default database schema. When working with Duende IdentityServer, you may want to organize your data in separate schemas for better organization and security. IdentityServer’s standard configuration uses two separate DbContexts for different types of data. The ConfigurationDbContext is responsible for storing configuration data such as clients, resources, and scopes. The PersistedGrantDbContext stores operational data including grants, server sessions, and managed keys....