The Most Addictive Python and SQL Courses
Learn Excel and Financial Modeling the Way Finance Teams Actually Use Them
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