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
Auf dieser Seite können Sie das Online-Video Implementing a login session authentication using React js, Context API and Python Flask API and JWT mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer 4Geeks Academy 06 April 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 53,712 Mal angesehen und es wurde von 856 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!