Перейти к содержимому

Laravel Passport vs Sanctum: What's the difference?

Andrew Schmelyun

0:00 / 0:00

Laravel Passport vs Sanctum: What's the difference?

21 025 просмотров · 4 года назад
Andrew Schmelyun
46 тыс. подписчиков
21 025 просмотров · 4 года назад
In this short 8 minute video, I'll explain the similarities and differences between two first-party Laravel authentication packages: Passport and Sanctum. You'll learn about how: Both can create authentication tokens Both can guard routes Sanctum can be used with SPAs Passport uses a full OAuth2 workflow 0:00 Intro 00:36 Similarities 03:39 Differences 07:58 Wrapping Up Send me new video ideas and vote on what's coming next: https://suggest.gg/aschmelyun Follow me on Twitter!   / aschmelyun   Join my newsletter, where I send out new information twice each month in the PHP, JavaScript, and Docker worlds: https://aschmelyun.substack.com