Djangorestframework-jwt

Latest version: v1.11.0

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

Scan your dependencies

Page 2 of 3

1.7

1.7.0

Changelog

Changed
- Upgrade PyJWT to v1.4.0. 9a43d6303acfdd0724468cbb95a72bde03f38bff
- Rely on `get_by_natural_key` instead of fetching by user's id. a3b4d44d2fc34d7752793ccbade2684707bf41da
- Include optional `orig_iat` in `jwt_payload_handler`. eb208893a223686efbf52ef81c37b915cc2edc00
- Remove throttle override in JSONWebTokenAPIView. 138

Fixed
- Use correct input type for password form field. Fixes 133
- Use USERNAME_FIELD in utils.jwt_payload_handler. Fixes 128

Added
- Add support for DRF 3.2
- Add `JWT_PAYLOAD_GET_USERNAME_HANDLER` setting. a3b4d44d2fc34d7752793ccbade2684707bf41da
- Add username to `jwt_payload_handler`. a3b4d44d2fc34d7752793ccbade2684707bf41da
- Add deprecation warning to `jwt_payload_handler`. a3b4d44d2fc34d7752793ccbade2684707bf41da
- Add deprecation warning to `jwt_get_user_id_from_payload_handler`. a3b4d44d2fc34d7752793ccbade2684707bf41da

1.6.0

Changelog

Changed
- Speed up tests. 108
- Bump up PyJWT version to v1.3.0. 54048f751ec00d73abf110a231fca8f2340156ef
- Drop support for Python 3.2. dfb320885e53b8ce988d3f2c6d4535488354b5d6
- Added the ability to use custom renderers. 121

Fixed
- Verify now does not refresh token. 109
- Fixed testing DRF 2 with Django 1.8. 118
- Run tests only against latest DRF versions. 122

Added
- Add request to serializers' context. 119

![tgif](http://media0.giphy.com/media/nbI04L1nRgAbm/giphy.gif)

1.5.0

Changelog

Fixed
- Catch InvalidTokenError and raise exception 100
- Fixed `verify_expiration` no longer supported by PyJWT 103
- Add Python 3.2 to tox tests 95
- Propagate request arg in all the doc strings 90

1.4.0

We've upgraded PyJWT to require [v1.0.0](https://github.com/jpadilla/pyjwt/releases/tag/1.0.0) which fixes reported vulnerabilities.

1.3.0

- Update en_US PO file by migonzalvar. 83
- Allow subclassing JSONWebTokenAuthentication by cancan101. 80
- Allow setting audience and issuer by cancan101. 77
- Added a JWT verification view by Jwpe. 75
- Support HyperlinkedModelSerializer by semente. 73
- Added JWT TestCase Class and Client by davideme. 72

Thanks to all that contributed to make this release happen.

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.