JWT Authentication using FrontEnd | Implementing Refresh and Access Tokens in ReactJS

Опубликовано: 10 Октябрь 2020
на канале: Mano Sriram
34,879
607

In this video, we'll be implementing JWT refresh and access tokens using FrontEnd (React).

0:00 - Introduction
3:55 - Create React App and Install Packages
6:37 - Creating Form and Form Handlers
17:19 - Create Cookies for Access and Refresh Tokens
19:15 - Implement protect function
21:44 - Implement "hasAccess" Function
23:53 - Generate accessToken and update a cookie
29:29 - Access protected route using "requestLogin" function
30:18 - Send accessToken as a header to the backend
35:51 - Handling Error Messages
37:13 - Testing the protected route

Code: https://github.com/manosriram-youtube...
Part-1 (Backend) :    • JWT Authentication using Refresh, Acc...  

Share your ideas for my next video: https://request.manosriram.com
Find pair-programming partners: https://www.mydevfriend.com

FOLLOW ME HERE:
Website: https://manosriram.com
Github: https://github.com/manosriram
LinkedIn:   / manosriram  
My Blog: https://blog.manosriram.com
Twitter:   / _manosriram  

📻 Join the Discord Server:   / discord  


Смотрите видео JWT Authentication using FrontEnd | Implementing Refresh and Access Tokens in ReactJS онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mano Sriram 10 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 34,879 раз и оно понравилось 607 людям.