Is your feature request related to a problem? Please describe.
Deprecated code configurations are generated and spring security depedencies are old.
See spring-cloud/spring-cloud-openfeign#417
@Bean
@ConditionalOnProperty(xyz.client-id")
public OAuth2FeignRequestInterceptor requestInterceptor(OAuth2ClientContext oAuth2ClientContext) {
return new OAuth2FeignRequestInterceptor(oAuth2ClientContext, resourceDetails());
}
@Bean
@ConditionalOnProperty("xyz.client-id")
public OAuth2ClientContext oAuth2ClientContext() {
return new DefaultOAuth2ClientContext();
}
@Bean
@ConditionalOnProperty("xyz.client-id")
@ConfigurationProperties("xyz")
public ClientCredentialsResourceDetails resourceDetails() {
ClientCredentialsResourceDetails details = new ClientCredentialsResourceDetails();
details.setAccessTokenUri("https://token");
return details;
}
Describe the solution you'd like
It should support the new classes and configurations
Is your feature request related to a problem? Please describe.
Deprecated code configurations are generated and spring security depedencies are old.
See spring-cloud/spring-cloud-openfeign#417
Describe the solution you'd like
It should support the new classes and configurations