jpadilla / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-jwt/
MIT License
3.19k stars 649 forks source link

Return decoded payload in `authenticate` #370

Closed blueyed closed 6 years ago

blueyed commented 6 years ago

This allows for accessing it on request.auth easily then.

TODO:

blueyed commented 6 years ago

Should I go forward with adding a test here?

blueyed commented 6 years ago

@jpadilla Added a test, please review.

Should this be documented? Where (in general, and for the changelog)?

jpadilla commented 6 years ago

@blueyed I failed earlier on keeping an updated changelog so I've been just doing so on each release https://github.com/GetBlimp/django-rest-framework-jwt/releases