Fix typo in multitenancy documentation

Signed-off-by: Hao <kyrieeeee2@gmail.com>
This commit is contained in:
Hao 2025-03-11 15:01:17 +08:00 committed by Josh Cummings
parent 071906b944
commit 8c7d2e8922

View File

@ -320,7 +320,7 @@ class TenantJWSKeySelector(tenants: TenantRepository) : JWTClaimsSetAwareJWSKeyS
----
======
<1> A hypothetical source for tenant information
<2> A cache for `JWKKeySelector`s, keyed by tenant identifier
<2> A cache for `JWSKeySelector`s, keyed by tenant identifier
<3> Looking up the tenant is more secure than simply calculating the JWK Set endpoint on the fly - the lookup acts as a list of allowed tenants
<4> Create a `JWSKeySelector` via the types of keys that come back from the JWK Set endpoint - the lazy lookup here means that you don't need to configure all tenants at startup