Laravel Backends for Vue.js 3 - Auth with Laravel and Vue
Lessons
- Laravel Sanctum and Fortify for a Vue.js SPA 12:28
- Register Users with Laravel Fortify for a Vue.js SPA 12:36
- Tweak the Axios Base URL for Best Dev Experience 5:06
- Login and Logout Users with Laravel Fortify for a Vue.js SPA 9:46
- Cleanup the User Flow with Better Redirects 3:10
- Protect Pages with Middleware 8:35
- Create a Custom useAuth Composable 10:01
- Format the User Data Once 6:57
- Cache the User in Memory 7:40
- Update the Guest Middleware to use the Cached User 1:08
- Use Axios Intereptors to Redirect to Login Page on 401 Unauthorized Response 9:20
- Take This Composable 1:30