Okta oauth2 configuration spring boot

We need to configure two different configuration sets as we are using two authorization servers with different URLs, client id, client secrets, etc.
How can this be achieved, is there some settings available in the SecurityWebFilterChain which points to a certain issuer? We know have this in the security configuration:
http.authorizeExchange(ex -> ex.pathMatchers("/restricted_url/**").authenticated().and().oauth2Login())