Skip to content

Instantly share code, notes, and snippets.

@elnygren
Last active September 24, 2023 08:13
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save elnygren/830e560e9a167464774693cbd55389c9 to your computer and use it in GitHub Desktop.
Save elnygren/830e560e9a167464774693cbd55389c9 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.
@blackboxx
Copy link

blackboxx commented Oct 8, 2019

Wow! Looks like what exactly what I'm searching for, Bu I can't understand how In fact your solution helps to authenticate user with jwt for example in django admin. Basically please tell does will this solution provide an authentication for django-admin https://stackoverflow.com/questions/58287426/django-with-jwt-how-to-use-both-use-a-jwt-token-auth-mechanism-from-restframe ?

I use logined in django admin and see in request that it uses shorter notation, less symbols betwen dots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment