Тёмный

Laravel Sanctum SPA Auth Overview 

cdruc
Подписаться 11 тыс.
Просмотров 10 тыс.
50% 1

Наука

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@Redheadtama1
@Redheadtama1 8 месяцев назад
This is by far the best explanation of this process I’ve heard! Thank you for taking the time to make things clear and as simple as possible! I’ve been using Laravel for about 5 years now but I still always get stuck on implementing auth as it’s not something I do very often! I wonder if you could make a video on how to implement sanctum auth with a framework like Sveltekit. I am interested in how you would implement this when there is also another server in between Laravel and the client. There is not much info on this elsewhere on the internet! Edit: I found your video on Nuxt + Laravel so I am going to take a look at that 😊
@lestratege4
@lestratege4 3 месяца назад
Omg what an explanation dude... Always Small Channel makes good content and step by step.. Thank you... Try to Understand this technical words long time ago. U got a new sub. Thx again
@philmareu
@philmareu 4 месяца назад
Fantastic explanation! Great job.
@pindab0ter
@pindab0ter 7 месяцев назад
This is VERY good! I really think Laravel should have explanations on this topic in their own documentation. Very well done!
@emretarhan0
@emretarhan0 6 месяцев назад
couldn't have been explained in a better way
@ademax4590
@ademax4590 8 месяцев назад
A pretty good video, thanks a lot! I'd really like to see how to implement this in code, so I'll very thankful if you will.
@MrPaulPhan
@MrPaulPhan 3 месяца назад
this was an amazing explanation
@mobileappsdevware264
@mobileappsdevware264 8 месяцев назад
yes. it is useful. thanks a lot
@basarokke4403
@basarokke4403 8 месяцев назад
You cover SPA. Fantastic. Will you cover Mobile Auth also? Especially Bearer Token for example react native or cordova apps? Thanks
@bevedel
@bevedel Месяц назад
Awesome. thank you
@lahbouch
@lahbouch 5 месяцев назад
thanks for the vedio very helpful
@ArifPurnomoAji
@ArifPurnomoAji 5 месяцев назад
Amazing explanation
@jc0164
@jc0164 8 месяцев назад
wonderfull !!!
@__sanjeev019
@__sanjeev019 8 месяцев назад
Thanks a lot.
@K조셉
@K조셉 20 дней назад
Hey bro , im working on a laravel project with nextjs , i tried login and it worked and also user is working but when i try logout it respond with 419 error mismatch csrf token i tried everything and it still doesn't work could u pls help me😊
@pindab0ter
@pindab0ter 7 месяцев назад
What is the purpose of a pre-flight request? Can't we get all the allow headers from the CSRF token request and then just send the login request? To me it seems like an extra API call that we could do without. Am I missing something?
@edi5959
@edi5959 8 месяцев назад
maximum security right? but the user's passwod is just 123456 😬
@delita0057
@delita0057 6 месяцев назад
is the csrf gets re produce if csrf match?
@FranceJardineVisarra
@FranceJardineVisarra 2 месяца назад
can you make a video sanctum and next js.
@FranceJardineVisarra
@FranceJardineVisarra 2 месяца назад
it its possible to use auth5 for authentication or no need ? if using sanctum
@7Janiel
@7Janiel 3 месяца назад
I'm stuck with mine. After setting cookie and session the app login works fine. However once a refresh and try to check with api if the user is still login in the back end it Auth::check facade it returns null. Should it not return the user ?
@velocities8242
@velocities8242 19 дней назад
Are you still looking for help? I just figured out how to implement the login flow myself after hours of debugging.
@antoninmasek6081
@antoninmasek6081 8 месяцев назад
Hey, first of all - thank you for this amazing video as well as all the others. I always find real value in almost every one of them. However, I wanted to ask, whether it would be possible to expand upon this video when adding the `remember_me` functionality into the mix. A couple of times I've stumbled upon an issue, where the session expires, but the user is still authenticated because of the remember me cookie, so then if you do a POST request (for example) it results in 419 while GET requests are working. But that's just an idea/suggestion. Thanks again for the incredible content and I am really looking forward to your Masteringauth course.
@cdruc
@cdruc 8 месяцев назад
lol, you just guessed my next 2 videos 🤣 1. remember me 2. auto-fetching xsrf cookie
@antoninmasek6081
@antoninmasek6081 8 месяцев назад
Haha, that is amazing :D Will definitely keep an eye out for those :) Thanks
@darkmode404
@darkmode404 8 месяцев назад
Is it same the logic when using personal access token?
@darkmode404
@darkmode404 8 месяцев назад
I separate laravel and vue directory. So I use api token. Put it in localstorage in browser.
@cdruc
@cdruc 8 месяцев назад
not a good idea to store auth tokens in localstorage - mostly because js can reach it. andmost of your js is not really *your* js will explain more in a future video
@ryanvelbon
@ryanvelbon 8 месяцев назад
Just stumbled on your channel. Amazing content! On which social media can we follow you. LinkedIn, Twitter?
@cdruc
@cdruc 8 месяцев назад
Thanks! I rarely post anything anywhere else, so...youtube! 😀
@darkmode404
@darkmode404 8 месяцев назад
He also have twitter 😊
Далее
Laravel SPA Authentication - setup and common mistakes
16:55
The Logging Everyone Should Be Using in .NET
15:34
Просмотров 72 тыс.
НЮША УСПОКОИЛА КОТЯТ#cat
00:43
Просмотров 781 тыс.
Laravel SPA Auth different domains
10:51
Просмотров 8 тыс.
Laravel Sanctum and Postman
13:54
Просмотров 11 тыс.
API Platform for Laravel: My First Impression
12:39
Просмотров 7 тыс.
Kamal 2
32:15
Просмотров 15 тыс.
Why you’re so tired
19:52
Просмотров 1,5 млн