You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyJWKClient currently doesn't support the usage of proxies when using get_signing_key_from_jwt() and then fetch_data():
r = urllib.request.Request(url=self.uri, headers=self.headers)
with urllib.request.urlopen(
r, timeout=self.timeout, context=self.ssl_context
) as response:
....
I would like to initialize the PyJWKClient with a proxy URI and set it on the Request in the fetch_data()
if self.proxy_host:
r.set_proxy(self.proxy_host, 'https')
I haven't found anything in the closed issues or the discussions yet, and was wondering if nobody needed a proxy - or there is a different option I'm not aware right now.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
PyJWKClient
currently doesn't support the usage of proxies when usingget_signing_key_from_jwt()
and thenfetch_data()
:I would like to initialize the
PyJWKClient
with a proxy URI and set it on theRequest
in thefetch_data()
I haven't found anything in the closed issues or the discussions yet, and was wondering if nobody needed a proxy - or there is a different option I'm not aware right now.
Thank you.
The text was updated successfully, but these errors were encountered: