Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jpadilla committed Oct 13, 2024
1 parent c8e1b13 commit c2629f6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ Changed

Before:

.. code-block:: python
jwt.encode({"payload":"abc"}, key=None, algorithm=None)
.. code-block:: pycon
>>> import jwt
>>> jwt.encode({"payload": "abc"}, key=None, algorithm=None)
After:

.. code-block:: python
jwt.encode({"payload":"abc"}, key=None, algorithm='none')
.. code-block:: pycon
>>> import jwt
>>> jwt.encode({"payload": "abc"}, key=None, algorithm="none")
- Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens

Expand Down

0 comments on commit c2629f6

Please sign in to comment.