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

Fix token in cookie unable to refresh #378

Open c0dezli opened 6 years ago

c0dezli commented 6 years ago

Right now if your token is in cookie, you cannot refresh it because it is set to httponly (JS cannot access), this couple lines change could fix it

blueyed commented 6 years ago

Needs a test.

btw: you can run tox -e py36-flake8 locally.. ;)

doowonee commented 5 years ago

Thanks @C0deZLee You give me a big inspiration.