JSON Web Token Authentication support for Django REST Framework
This release drops official support for Django REST Framework version 2.x as well as end of life versions of Django.
Support versions are now Django 1.8 and 1.9 with Django REST Framework 3.x.
We also add support for custom user models with Django 1.8's UUIDField as primary key.
get_by_natural_key
instead of fetching by user's id. a3b4d44d2fc34d7752793ccbade2684707bf41daorig_iat
in jwt_payload_handler
. eb208893a223686efbf52ef81c37b915cc2edc00JWT_PAYLOAD_GET_USERNAME_HANDLER
setting. a3b4d44d2fc34d7752793ccbade2684707bf41dajwt_payload_handler
. a3b4d44d2fc34d7752793ccbade2684707bf41dajwt_payload_handler
. a3b4d44d2fc34d7752793ccbade2684707bf41dajwt_get_user_id_from_payload_handler
. a3b4d44d2fc34d7752793ccbade2684707bf41daWe've upgraded PyJWT to require v1.0.0 which fixes reported vulnerabilities.
Thanks to all that contributed to make this release happen.