How do I use multiple 'JWK Set Uri' values in the same Spring Boot app?
问题 I have a requirement to use two different authorization servers (two Okta instances) to validate authentication tokens coming from two different web applications inside a single Spring Boot application which is a back-end REST API layer. Currently I have one resource server working with the following configuration: @Configuration @EnableWebSecurity public class ResourceServerSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws