This guide shows how to customize Spring Authorization Server to support multiple issuers per host in a multi-tenant hosting configuration.
The purpose of this guide is to demonstrate a general pattern for building multi-tenant capable components for Spring Authorization Server, which can also be applied to other components to suit your needs.
<1> Set to `true` to allow usage of multiple issuers per host.
WARNING: Do not allow for any arbitrary issuer to be used. An allowlist of approved issuers should be enforced.
[[multi-tenant-define-tenant-identifier]]
== Define the tenant identifier
@ -53,6 +37,20 @@ NOTE: The base URL of the xref:protocol-endpoints.adoc[Protocol Endpoints] is th
@@ -53,6 +37,20 @@ NOTE: The base URL of the xref:protocol-endpoints.adoc[Protocol Endpoints] is th
Essentially, an issuer identifier with a path component represents the _"tenant identifier"_.
[[multi-tenant-enable-multiple-issuers]]
== Enable multiple issuers
Support for using multiple issuers per host is disabled by default.