Laravel Sanctum vs Passport & when to use Laravel Sanctum - Laravel SPA Authentication
With Laravel Sanctum being the “newer“ package for Laravel, it can get confusing when you should use Sanctum for authentication over something like JWT or Laravel Passport when authenticating SPA, mobile app, or an API. In this video, I hope to help you decide which authentication package to choose as well as help you decide between Laravel Sanctum’s token & session based authentications.
🤝 You can support me by giving my videos a 👍 & by subscribing to the channel ✔️
--- Table of Contents ---
00:00 - Intro
00:30 - Built-in cookie-based session auth
00:43 - Laravel passport & oAuth
01:12 - Laravel sanctum - overview
01:51 - Laravel sanctum - authenticating the mobile app
02:16 - Laravel sanctum - authenticating another service
02:36 - Laravel sanctum - authenticating spa
1 view
60
14
1 month ago 00:45:35 1
Презентация нового курса по API
5 months ago 00:13:05 1
Sanctum с Vue для Laravel 1. Laravel Sanctum с Postman. Получаем доступ к защищенному роуту
7 months ago 00:04:50 3
Laravel Sanctum 401 Unauthenticated
7 months ago 00:05:45 6
419 CSRF Token Mismatch - Laravel Sanctum
8 months ago 00:04:05 1
Laravel, InertiaJS, ReactJS & MariaDB (LIMR Stack) - Share Data