Skip to content

Instantly share code, notes, and snippets.

@mshamma
Forked from elnygren/django_jwt_cookie.py
Created March 21, 2017 21:12
Show Gist options
  • Save mshamma/398190d1de645ce8be055901ec49cb8e to your computer and use it in GitHub Desktop.
Save mshamma/398190d1de645ce8be055901ec49cb8e to your computer and use it in GitHub Desktop.
Teach Django to use JWT tokens inside the session cookie - plays well with django-rest-framework-jwt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment