In the previous article, we walked through the creation of a JWT authentication system using the django-rest-framework and dj-rest-auth libraries. In this article, we’ll explore how to communicate with this backend from a decoupled frontend. Some prior knowledge is assumed of:

  • A frontend framework like Vue or React
  • The use of a client like @vue/cli or Nuxt for serving the frontend app
  • State management tools (like Vuex or Redux)
  • The Axios http client

To see the previous article, Part 1, click here.

Last time, we created a solid backend for JWT using Django. One might be forgiven for thinking that…

This article walks through the implementation of JWT authentication using a Django backend with an independent frontend, such as React or Vue. Since this topic is at a more intermediate level, a little knowledge of the following is assumed:

  • Django
  • Django Rest Framework

If you’d like to jump straight to Part 2 (all things Frontend) click here.

JWT Authentication, a controversial topic?

Authentication (along with its little brother, authorization) is an essential component of the modern web. That’s why I was so surprised to find such controversy still existing around it. …

John Kealy

Programmer, weatherman, dreamer...

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store