Flask-jwt-extended

Latest version: v4.6.0

Safety actively analyzes 629994 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 16

2.2.0

* Adds ability to get jti from an encoded token (51)
* New optional kwarg encoded_token which can be passed to get_stored_token (51)

2.1.1

* get_jwt_identity() now returns None instead of {} if no jwt is present

2.1.0

* Add jwt_optional decorator (46, thanks carlegbert)

2.0.0

* Fix import error when using older versions of pyjwt (refs 42)
* Make cryptography an optional dependency (see http://flask-jwt-extended.readthedocs.io/en/latest/installation.html for installation instructions)
* Add JWT_SECRET_KEY option. It will check this first, then fall back to using app.secret_key if it isn't set. Only used on symmetric signing algorithms, such as the HS* ones.
* Add JWT_PRIVATE_KEY option in place of app.secret_key for asymmetric (public/private key) signing algorithms. It now uses this option instead of app.secret_key, and is a breaking change from version 1.5.0.
* Update requirements.txt to use newest version of pyjwt

1.5.0

* Adds support for asymmetric cryptography (40)

1.4.2

* Fixes an issue where decoding a JWT would use the algorithm that was defined in the JWT instead of the algorithm that was defined in app.config['JWT_ALGORITHM'] (refs 39)

Page 12 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.