Implementing a login session authentication using React js, Context API and Python Flask API and JWT

Publié le: 06 avril 2021
sur la chaîne: 4Geeks Academy
53,712
856

In this opportunity, we are building a small login system using:

React.js, The Context API and sessionStorage for persistency.
Python Flask framework for building API's.
Flask JWT Extended library to implement JWT tokens.

You can find the exercise code template here:
https://github.com/4GeeksAcademy/reac...

Video Chapters:

0:00 - Intro
0:32 - How authentication works
12:04 - Creating a token in the backend
23:14 - Asking for a token from the front-end
36:14 - Storing the token in the front end localStorate
43:42 - Redirecting the user after login or handling error
53:40 - Making the session persistent (avoid loosing it on refresh)
57:36 - Logout
1:00:00 - Making authenticated requests


Sur cette page du site, vous pouvez voir la vidéo en ligne Implementing a login session authentication using React js, Context API and Python Flask API and JWT durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur 4Geeks Academy 06 avril 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 53,712 fois et il a aimé 856 téléspectateurs. Bon visionnage!