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