We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5464ed commit 626e53dCopy full SHA for 626e53d
docs/modules/ROOT/pages/servlet/oauth2/resource-server/multitenancy.adoc
@@ -248,7 +248,7 @@ public class TenantJWSKeySelector
248
}
249
250
private JWSKeySelector<SecurityContext> fromTenant(String tenant) {
251
- return Optional.ofNullable(this.tenantRepository.findById(tenant)) <3>
+ return Optional.ofNullable(this.tenants.findById(tenant)) <3>
252
.map(t -> t.getAttrbute("jwks_uri"))
253
.map(this::fromUri)
254
.orElseThrow(() -> new IllegalArgumentException("unknown tenant"));
0 commit comments