Commit 2bb0a3ca authored by 陈健's avatar 陈健

还原不忽略tls证书

parent d44921e1
......@@ -33,12 +33,12 @@ public class OAuth2Client {
@Resource
private OAuth2ClientContext oAuth2ClientContext;
@Resource
private RestTemplate restTemplateSSL;
private RestTemplate restTemplate;
@Bean
public OpenIdDiscovery getOpenIdDiscovery() {
OpenIdDiscovery opendIdObj = restTemplateSSL.getForObject(applicationProperties.getIssuer() + DISCOVERY_PATH, OpenIdDiscovery.class);
return opendIdObj;
OpenIdDiscovery openIdObj = restTemplate.getForObject(applicationProperties.getIssuer() + DISCOVERY_PATH, OpenIdDiscovery.class);
return openIdObj;
}
@Bean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment