Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

React Login Authentication with JWT Access, Refresh Tokens, Cookies and Axios

Dave Gray via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This intermediate tutorial teaches how to implement React login authentication with JWT access and refresh tokens. It covers Axios requests and interceptors, token renewal, expiration handling, and secure cookie storage.

Syllabus

Intro
Welcome Discussion
JWT Authentication
Update NPM Packages
Users Component
Users Request
Requests Needs the Access Token
useRefreshToken hook
Testing useRefreshToken
Private Axios Instance
useAxiosPrivate with interceptors
Updating the Users component
Handling an expired refresh token
JWT Strategy Revisited

Taught by

Dave Gray

Reviews

Start your review of React Login Authentication with JWT Access, Refresh Tokens, Cookies and Axios

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.