Skip to content

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
mainfrom
ev/session-c54d301b
Draft

Erwinvandervalk wants to merge 1 commit into
mainfrom
ev/session-c54d301b

Conversation

@Erwinvandervalk

Copy link
Copy Markdown
Contributor

Updates the preview samples to the packages published to nuget.org on October 16, 2026.

Package updates

Sample Changes
IdentityServer/v8/Storage Duende.IdentityServer 8.1.0-preview.6, Duende.Storage.Sqlite 2.0.0-preview.6
IdentityServer/v8/UserManagement/AccountLockout Duende.IdentityServer 8.1.0-preview.6, Duende.Storage.Sqlite 2.0.0-preview.6, Duende.UserManagement.IdentityServer8 2.0.0-preview.6
IdentityServer/v8/Spaces The same as AccountLockout, plus Duende.Storage 2.0.0-preview.6 and Duende.Spaces 1.0.0-preview.6

Storage 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

  • Spaces is now added from the IdentityServer builder: services.AddSpaces() plus Configure<SpacesOptions>(...) becomes .AddSpaces(spaces => spaces.FallbackToDefault = true) after AddStorage(...).
  • Documentation.md for Spaces shows the new registration, the AddSpaces(storageInstanceId, configure) overload, PartitionDataProtection (on by default) with GetUnpartitioned(), and that Spaces no longer registers a default HybridCache.
  • Fixed UseSpacesResolution() to UseSpaceResolution() 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.
  • Each app started with dotnet run -c Release and answered 200 on / and /.well-known/openid-configuration.
  • Spaces Playwright tests: 5 of 5 passed.

…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
Erwinvandervalk marked this pull request as draft October 16, 2026 15:18

@maartenba maartenba left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, feel free to merge when you want these to go live.

@maartenba maartenba added this to the 2026-Q4 milestone Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants