Authenticating requests with JWT tokens stored in HTTPOnly cookies in Django
This article describes how you can use JWT tokens in Django applications with decoupled frontend JavaScript applications running the browser in secure way using HttpOnly cookies.
Last updated August 1, 2021
Session Authentication with Django, Django REST Framework and Nuxt
This article shows how to use session authentication with Django + Nuxt.js applications
Last updated January 1, 2021
How to authenticate Django REST Framework API calls from a (Vue) JS client using Session Authentication and HttpOnly cookies
This article will describe an authentication strategy using Django REST Framework with a Javascript frontend application. I'll be demonstrating this with Vue.js (Qusar Framework, using Vue 2), but the concepts should transfer to any other Javascript framework.
Last updated November 27, 2020