Support for HTTP Proxy servers
Issue #74
resolved
In some cases a /jwks end point may be only accessible via a proxy server.
Attached change is to provide a code path to call
HttpURLConnection.openConnection()
with a proxy parameter. The caller can configure the Get object with a proxy and then call
httpsJkws.setSimpleHttpGet(simpleGet);
Comments (4)
-
repo owner -
reporter for whatever reason, the global system properties were not working for me. I spent some time trying to figure it out but ran into dead ends. In addition, in my case, I only wanted some HTTP requests to go through a proxy.
-
repo owner You've maybe done this already but on existing versions you could copy the Get code into your own package and add this proxy support. And then provide an instance of that to HttpsJwks.
-
repo owner - changed status to resolved
- Log in to comment
Seems reasonable and straight forward. I'll take a look at adding this.
Are the system properties like https.proxyHost and https.proxyPort not sufficient for your usage?