Implement User Auth in a Django & React app with Knox

Add Token-based Authentication with Django-rest-knox to an app built with Django and React/Redux

KJ
TechNest

--

Photo by Jon Moore on Unsplash

In the last tutorial, we created a CRUD Todo application with React, Redux, and Django (REST framework). This time, we will implement user authentication, such as Login, for the application. Again, we use Semantic UI for UI design.

Register
Login
Logout

Table of Contents

  • Preparation
  • Adding Todo’s owner
  • Creating a new app for user auth
  • Testing authentication using REST Client
  • Implementing User Loading and Login
  • Creating a Login Form
  • Creating PrivateRoute
  • Implementing Logout

--

--