Django & React Session Authentication and CSRF | Part 7 - React Account Register

Опубликовано: 20 Март 2026
на канале: Bryan Berk
8,460
112

🔥 Subscribe to my YouTube + Turn on Notification Bells!
👉    / @bryanberk  

Hey, Bryan here. I share videos that help web developers up their development skills!

Today I'll be sharing the seventh part for setting up a session based authentication system that I will help you implement using React, Redux, and Django with the Django Rest Framework. I will also be using Bootstrap for the styling in the application.

This is going to be a session based authentication system with some awesome features:
1. You will see how to implement session authentication in a Django & React app.
2. You will learn about what CSRF is and how we protect against it.
3. You will learn how to use a CSRF Token to protect your login and sign up pages.
4. You will learn how to use a CSRF Token to protect your authenticated API requests.
5. You will learn how to attach a profile to your user which you will be able to update.
6. You will learn how to add functionality for deleting a user through the user dashboard.

In this part, I will be setting up the functionality to allow a user to register for an account through the frontend with React. We will see how to CSRF protect the registration form and how to CSRF protect the API request when a user goes to register for an account.

To stay up to date with the best web development content, make sure you subscribe to My YouTube channel Today!

The final project code can be found at: https://github.com/linkedweb/session_...