Skip to content

Instantly share code, notes, and snippets.

@shahid163
Forked from elnygren/django_jwt_cookie.py
Created September 24, 2023 08:13
Show Gist options
  • Save shahid163/05b4d4a99db54a158ac4a16c069ec36e to your computer and use it in GitHub Desktop.
Save shahid163/05b4d4a99db54a158ac4a16c069ec36e 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