Laravel Sanctum SPA Authentication Explained
HTML-код
- Опубликовано: 13 авг 2024
- Go to strms.net/hellofresh_tuto1902... and use code POGHF93875 for my special HelloFresh discount and to support my channel! #ad
00:00 - Intro
00:31 - Sponsor
01:05 - Laravel Sanctum SPA
Latest Subscriber: Xenia
Subscriber Goal: ||||||||||||||| 70% |||||||........ 3.53K/5K
Start creating Filament Admin Panels today with the Filament Bootcamp
👉jorgearturorojas.gumroad.com/...
Do you like my content? Buy me a coffee and help the channel grow ☕️ mercury.streamelements.com/ti...
Latest tippers: MilenKo - $10.00, Sean - $5.00, Daniel GAMEL - $1.00, Mwest2020 - $5.00
Join me on Discord
/ discord
Discord Goal: ||||||||||||||| 74% ||||||||....... 224/300
Latest discord member: dorian0325♯0 - Кино
hey if you have a free time can you please to make a full laravle api that has auth + roles and permitions
That's a great idea! I'll add it to my list. Thank you for the suggestion. 👍
sir, thanks for tutorial, finally i got what i wanted, but i have a question, because of going an extra query for csrf-cookie the queries are taking a litle bit more time, could you show please something maybe like cache or something else to not do extra query on every query fo csrf-cookie, as i know csrf-cookie is active for two hours, thanks
My apologies for the confusion. You only need to make the csrf-cookie request once when you are authenticating the user. Once the user has been successfully authenticated, subsequent requests should automatically receive CSRF protection. So, there’s no need to make the csrf-cookie request after logging in the user