Next JS | Django Rest Framework - HttpOnly Cookie Session Based Authentication

Published: 16 March 2021
on channel: Very Academy
17,086
281

This is a Django Rest Framework project using Next JS, Material UI, Xstate. This Next.js Django Rest Framework project is aimed at getting you started with Next.js Django DRF moving you into more advanced topics as the project progresses. In this tutorial we setup session based authentication with HttpOnly cookies, uses will be able to login and access data from Django backend securely.

00:00 Introduction
01:02 Preview of build
02:56 Overview of process
07:45 Download and setup project from previous tutorial
12:00 Get started in Django - setup URLs and view - get csrf token
18:00 Get started with Next - create a login page and access csrf token
26:03 Configuring CORS
34:25 Material UI building the login form
41:28 Building the login view
48:57 Next.js develop the user login
58:09 Get data for authenticated user
1:02:35 Creating a dashboard for the user
1:04:20 Xstate - a simple configuration example

Code Repository
https://github.com/veryacademy/YT_Nex...

✨ Support us - join us as a very academy member
   / @veryacademy  

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
   / @veryacademy  

👍👍Follow us on Facebook
  / veryacademycom-113232103670580  

👍👍👍Follow use on Twitter:
  / veryacademy  


Watch video Next JS | Django Rest Framework - HttpOnly Cookie Session Based Authentication online without registration, duration hours minute second in high quality. This video was added by user Very Academy 16 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17,086 once and liked it 281 people.