Repository navigation
Update preview samples to IdentityServer 8.1.0-preview.6 and Spaces, Storage and User Management preview.6 - #386
Draft
Erwinvandervalk wants to merge 1 commit into
Draft
Erwinvandervalk wants to merge 1 commit into
Erwinvandervalk wants to merge 1 commit into
Conversation
…0-preview.6, Storage and User Management 2.0.0-preview.6 Spaces is now added with AddSpaces(...) on the IdentityServer builder instead of services.AddSpaces() plus Configure<SpacesOptions>.
Erwinvandervalk
marked this pull request as draft
October 16, 2026 15:18
maartenba
approved these changes
Oct 16, 2026
maartenba
left a comment
Member
There was a problem hiding this comment.
Looks good, feel free to merge when you want these to go live.
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 preview samples to the packages published to nuget.org on October 16, 2026.
Package updates
IdentityServer/v8/StorageIdentityServer/v8/UserManagement/AccountLockoutIdentityServer/v8/SpacesStorage 2.0.0-preview.5 is skipped on purpose. The other User Management samples (GettingStarted, PasswordRegistration, FullSample) use the stable 1.x packages and are unchanged.
API migrations
services.AddSpaces()plusConfigure<SpacesOptions>(...)becomes.AddSpaces(spaces => spaces.FallbackToDefault = true)afterAddStorage(...).Documentation.mdfor Spaces shows the new registration, theAddSpaces(storageInstanceId, configure)overload,PartitionDataProtection(on by default) withGetUnpartitioned(), and that Spaces no longer registers a defaultHybridCache.UseSpacesResolution()toUseSpaceResolution()in the Spaces README and docs (the method name was already wrong before this update).Storage and AccountLockout needed no code changes.
Testing
dotnet build -c Release: Spaces.slnx (app, AppHost, Playwright tests), Storage.csproj and AccountLockout.slnx build with no errors.dotnet run -c Releaseand answered 200 on/and/.well-known/openid-configuration.