in src/main/java/com/epam/aidial/auth/helper/services/BaseAuthProvider.java [46:63]
public ResponseEntity<String> getOpenidConfiguration() {
String local = openIdConfiguration;
if (local == null) {
synchronized (openidConfigurationUrl) {
local = openIdConfiguration;
if (local == null) {
final ResponseEntity<String> response = this.tryExchange(openidConfigurationUrl, HttpMethod.GET, "", String.class, null);
if (response.getStatusCode() != HttpStatus.OK) {
return response;
}
local = openIdConfiguration = response.getBody();
}
}
}
return new ResponseEntity<>(local, HttpStatus.OK);
}