if (jwtRetriever == null) {
throw new ResolveException("OpenID Connect request object cannot be resolved: No JWT retriever is configured");
}
Resource resource;
try {
resource = jwtRetriever.retrieveResource(url);
} catch (IOException e) {
throw new ResolveException("Couldn't retrieve OpenID Connect request object: " + e.getMessage(), e);
}
try {
return JWTParser.parse(resource.getContent());
} catch (java.text.ParseException e) {
throw new ResolveException("Couldn't parse OpenID Connect request object: " + e.getMessage(), e);
}