You can create a bean of the JwtDecoder with passed a load balanced RestTemplate:
@Bean
public JwtDecoder jwtDecoder(RestTemplate restTemplate) {
return NimbusJwtDecoder.withIssuerLocation("http://authorization-server").restOperations(restTemplate).build();
}