Spaces
This section contains samples demonstrating Spaces with IdentityServer. Spaces run multiple isolated security domains from a single deployment, giving each space its own configuration and operational data through storage pools provided by Duende Storage.
Spaces Sample
Section titled “Spaces Sample”This sample shows how to host several isolated spaces in one IdentityServer application. It demonstrates:
- Configuring IdentityServer with
AddSpacesand the Duende Storage adapters. - Resolving the active space per request by origin, path segment or both.
- Isolating each space’s configuration and operational data in its own storage pool.
- Managing space definitions through
ISpaceAdmin.
The sample includes an Aspire host project so all projects start in the correct order and the database can be created and migrated from the Aspire dashboard.
Spaces SampleGitHub Repository for the Spaces Sample