onelogin / onelogin-java-sdk

5 stars 13 forks source link

Client.getEventTypes does not support HTTP proxy system properties #42

Closed grossedouceur closed 1 year ago

grossedouceur commented 2 years ago

The issue can be reproduced in an environment that is behind an HTTP Proxy.

If I launch a Java program using this SDK with the HTTP proxy system properties I can access every resources but Event Types.

I suppose it is because Event Types does not requires authentication and the SDK uses, in that case, a default HttpClient instead of one using the [system properties](https://www.javadoc.io/static/org.apache.httpcomponents/httpclient/4.5.1/org/apache/http/impl/client/HttpClients.html#createSystem()).

Jmfwolf commented 2 years ago

Hey grossedouceur, I am the new guy assigned to our public SDK repos. I am working on resolving your issue, I appreciate your patience in the process.

Jmfwolf commented 1 year ago

Please try the latest release. It has taken a bit, but I came around