React Persistent User Login Authentication with JWT Tokens

React Persistent User Login Authentication with JWT Tokens

Dave Gray via YouTube Direct link

Security Issue #1

9 of 20

9 of 20

Security Issue #1

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

React Persistent User Login Authentication with JWT Tokens

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Welcome Discussion
  3. 3 Current state of the app
  4. 4 Why want a persistent login?
  5. 5 PersistLogin component
  6. 6 useRefreshToken update
  7. 7 Add PersistLogin to App
  8. 8 Test the Persistent Login
  9. 9 Security Issue #1
  10. 10 useLogout hook
  11. 11 Add logout to Home
  12. 12 Test with no refresh cookie
  13. 13 Test with a refresh token
  14. 14 Test with an expired refresh token
  15. 15 Security Issue #2
  16. 16 Adding new state to AuthProvider
  17. 17 PersistLogin update
  18. 18 Login update
  19. 19 Test Trust Device toggle
  20. 20 Fix a memory leak

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.