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

还原不忽略tls证书

parent d44921e1
...@@ -33,12 +33,12 @@ public class OAuth2Client { ...@@ -33,12 +33,12 @@ public class OAuth2Client {
@Resource @Resource
private OAuth2ClientContext oAuth2ClientContext; private OAuth2ClientContext oAuth2ClientContext;
@Resource @Resource
private RestTemplate restTemplateSSL; private RestTemplate restTemplate;
@Bean @Bean
public OpenIdDiscovery getOpenIdDiscovery() { public OpenIdDiscovery getOpenIdDiscovery() {
OpenIdDiscovery opendIdObj = restTemplateSSL.getForObject(applicationProperties.getIssuer() + DISCOVERY_PATH, OpenIdDiscovery.class); OpenIdDiscovery openIdObj = restTemplate.getForObject(applicationProperties.getIssuer() + DISCOVERY_PATH, OpenIdDiscovery.class);
return opendIdObj; return openIdObj;
} }
@Bean @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