Skip to content

Instantly share code, notes, and snippets.

@antonioj-mattos
Forked from elnygren/django_jwt_cookie.py
Created December 3, 2019 18:14
Show Gist options
  • Save antonioj-mattos/8006a36276752299ba901cd5188c55b8 to your computer and use it in GitHub Desktop.
Save antonioj-mattos/8006a36276752299ba901cd5188c55b8 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