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 648 forks source link

Update ` request.user ` after authenticating. #447

Open monokrome opened 6 years ago

monokrome commented 6 years ago

If we don't do this, then request.user will be the wrong instance after authenticating - which can lead to some weird issues. Specifically, in projects that use request.user in response middleware.

monokrome commented 5 years ago

Anyone here? @jpadilla

monokrome commented 4 years ago

@jpadilla this is unfortunate. No response? It has been 9 months...