
Description
In Spring docs there is an example of a multi-tenant (one Opaque and one JWT) OAuth 2.0 Resource Server using an AuthenticationManagerResolver : https://docs.spring.io/spring-security/site/docs/current/reference/html5/#oauth2reourceserver-opaqueandjwt
The multi-tenancy sample presented in this repo uses custom properties and manual resolution, is that possible to add a sample using jwt and opaque tokens with standard properties ?
I tried to setup a sample app from docs but the resolver seems wrong (jwt() and opaqueToken() beans are not accessible ?)
I added details in a Stack Overflow ticket : https://stackoverflow.com/questions/68744965/spring-security-5-setup-authenticationmanagerresolver-for-jwt-and-opaquetokens
A similar thing was done here : spring-projects/spring-security#8713