summaryrefslogtreecommitdiff
path: root/CHANGELOG.rst
diff options
context:
space:
mode:
authorMichael Haines <michael.c.haines@gmail.com>2022-11-15 20:47:00 -0700
committerGitHub <noreply@github.com>2022-11-16 09:47:00 +0600
commit300348f7bc4a520448b8fbefa525c9434e82141d (patch)
tree9be0c65bf211db218f027eee36a580f98330da87 /CHANGELOG.rst
parente6d0a83bbafb0b26b4ba7924f2f5e26eb995845a (diff)
downloadpyjwt-300348f7bc4a520448b8fbefa525c9434e82141d.tar.gz
Custom header configuration in jwk client (#823)
* allow configuration of custom headers in JWKClient * revert changes to algorithms * document example usage of custom headers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * black format tests * Add a release note for optional headers arg Co-authored-by: thundercat1 <michael.haines@recursionpharma.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'CHANGELOG.rst')
-rw-r--r--CHANGELOG.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 4d56207..37875e9 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -21,6 +21,8 @@ Added
- Add ``compute_hash_digest`` as a method of ``Algorithm`` objects, which uses
the underlying hash algorithm to compute a digest. If there is no appropriate
hash algorithm, a ``NotImplementedError`` will be raised
+- Add optional ``headers`` argument to ``PyJWKClient``. If provided, the headers
+ will be included in requests that the client uses when fetching the JWK set.
`v2.6.0 <https://github.com/jpadilla/pyjwt/compare/2.5.0...2.6.0>`__
-----------------------------------------------------------------------