Skip to content
New Livestream: How Banks Protect Their Apps with FAPI 2.0. Register Now!

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.

This sample shows how to host several isolated spaces in one IdentityServer application. It demonstrates:

  • Configuring IdentityServer with AddSpaces and 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.