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
When using PyJWKClient to access a jwks server behind a firewall, I've run into problems with my request being denied due to the default Python-urllib/3.9 user agent.
Would the maintainers entertain allowing users to specify a custom headers dictionary when creating the pyJWKClient that would automatically be set on fetch requests to retrieve the JWK? By allowing a generic header dictionary to be included, you could solve not only the user agent difficulties I've run into, but other use cases as well.
Thank you!
The text was updated successfully, but these errors were encountered:
When using
PyJWKClient
to access a jwks server behind a firewall, I've run into problems with my request being denied due to the defaultPython-urllib/3.9
user agent.Would the maintainers entertain allowing users to specify a custom
headers
dictionary when creating thepyJWKClient
that would automatically be set on fetch requests to retrieve the JWK? By allowing a generic header dictionary to be included, you could solve not only the user agent difficulties I've run into, but other use cases as well.Thank you!
The text was updated successfully, but these errors were encountered: