Repository navigation
Docs for IdentityServer 8.1.0-preview.4 / User Management 2.0.0-preview.3: multiple storage instances - #1243
Merged
Merged
Conversation
…0.0-preview.3 - Document per-instance Duende Storage wiring (AddStorage selects the provider; AddConfigurationStorage/AddOperationalStorage/AddUserManagement map data categories) - Add a Multiple Storage Instances guide - Replace removed APIs (IPooledStore, IDatabaseSchema, *Store provider methods) - Update User Management password defaults (NIST SP 800-63B-4) and passkey changes - Note the EF Core store method renames in 8.1
maartenba
requested changes
Oct 2, 2026
Erwinvandervalk
marked this pull request as ready for review
October 2, 2026 11:46
- Rewrite profile and attribute-group schema docs around BuiltInSchemas.UserProfile, Extend(...), full replacement, and AddDynamicSchemas + ISchemaAdmin - Add a Built-in Schemas section to the Duende Storage schemas page - Note that SAML/OIDC provider schemas come from AddSamlDynamicProvider/AddOidcDynamicProvider - Fix AddUserManagement() samples (a configure callback is required)
maartenba
requested changes
Oct 2, 2026
- Clearer note title and wording on the Duende Storage overview - Rename 'Give User Management Its Own Database' to 'Using A Dedicated Database For User Management' - Use department/job_title in the attribute-groups example and explain why built-in attributes can't be reused with Extend - Leave password default changes to #1241 (keep only the ChallengeSize notes here)
Contributor
Author
|
Thanks for the review. All comments are addressed in the latest commit. About #1241: this PR and #1241 both changed the password defaults (
A test merge of this branch with |
Member
|
@Erwinvandervalk can this one be merged? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the docs for IdentityServer 8.1.0-preview.4, Duende.Storage 2.0.0-preview.3 and User Management 2.0.0-preview.3. Based on the public API diff in products-private (
is-8.1.0-preview.3..is-8.1.0-preview.4,um-2.0.0-preview.2..um-2.0.0-preview.3).Multiple storage instances (headline)
AddStorage(...)only selects the provider, andAddConfigurationStorage()/AddOperationalStorage()/AddUserManagement([instance,] ...)assign data to an instance.IPooledStoremulti-tenant section is removed because that API no longer exists.API renames and removals
AddSqliteStore/AddPostgreSqlStore/AddMsSqlStore/AddOracleStoreare nowAddSqlite/AddPostgreSql/AddMsSql/AddOracle.IDatabaseSchemais replaced byIStorageInstanceSchemaFactory/IStorageInstanceSchema(MigrateAsync).AddConfigurationStore/AddOperationalStoreare nowAddEntityFrameworkConfigurationStore/AddEntityFrameworkOperationalStore. The EF page gets "8.1 preview" notes, but the code samples keep the old names because these pages also serve 8.0 readers and the old names are only obsolete in 8.1, not removed.User Management
ChallengeSizemust be at least 16 bytes, and the newTransportsfield is documented.Spaces
ISpaceAdmin.UndeleteAsync.Not covered (possible follow-ups)
Checks
npx astro build: 420 pages built, all internal links valid.Extending built-in schemas (second commit)
fundamentals/profiles.mdandattribute-groups.mddocumentedIUserProfileSchemaAdmin, which doesn't exist in preview.2 or preview.3. They are rewritten around:BuiltInSchemas.UserProfile(email,name,given_name,family_name);AddInMemoryDataExtensionSchemas([BuiltInSchemas.UserProfile.Extend(...)]), including attribute groups;SchemaId.UserProfile; your schema wins whatever the registration order;AddDynamicSchemas()+ISchemaAdmin.duende-storage/schemas.mdgets a "Built-in Schemas" section coveringBuiltInSchemas.OidcProvider/SamlProvider/UserProfileand how to extend or replace them.schemas.md,ui/login/dynamicproviders.md): theidp:oidc/idp:samlschemas are now registered byAddOidcDynamicProvider()/AddSamlDynamicProvider(). WithAddDynamicSchemas()they must be created throughISchemaAdmin.AddUserManagement()samples now pass a callback, since there is no overload without parameters (this also affectedpasskeys.mdx).SchemaId.IdentityProvider("oidc"); the real members areSchemaId.OidcIdentityProvider/SamlIdentityProvider.