Hi, may I ask what font you're using, looks so nice 😅😅
@cdruc4 сағат бұрын
ibm plex mono
@sadhakbjКүн бұрын
Bro at least give one video per week.
@qozeemmonsurudeen95942 күн бұрын
Why do we have to login everytime after getting the xsrf token and laravel session before we can access the protected route? Is there a workaround thats the issue am currently facing
@cdruc2 күн бұрын
you shouldnt have to. something is wrong in your setup
@qozeemmonsurudeen95942 күн бұрын
After a lot of debug, I was able to solve it just now by implementing my own login logic instead of using Breeze auth api provided by defaults
@unknownguywholovespizza2 күн бұрын
What's the name of your vs code's color theme please
@haizk3 күн бұрын
wow very straight forward! thanks
@mutalovsarvar3 күн бұрын
Bro you saved my life. Your video should be included in official docs
@ArtikLamartik4 күн бұрын
you from Iași?
@ingles-u6b4 күн бұрын
Why is the CSRF token generated previously of login? I mean I thought, it's not necessary that the user have any ID if he doesn't identify, doesn't it?
@cdruc4 күн бұрын
the token is associated to the session id. and every visitor, logged in or not, has one
@ingles-u6b3 күн бұрын
@@cdruc Thanks for answer, Your content is pretty good. I hope your channel grows much more; it deserves it 😋😋
@MuhamadAzizPrasetyo4 күн бұрын
how about performance if we have a ton of value in that array?
@Juikun6 күн бұрын
what is timmy generate?
@cdruc5 күн бұрын
just me making fun of chatgippidy before it comes and takes my job
@hosseingh91466 күн бұрын
Great explanation!
@ajaykumar-l3y2n7 күн бұрын
Good sir my issue fixed
@antoniocosta75659 күн бұрын
Exatamente o que eu tava procurando, valeu demais 🎉
@pccc201111 күн бұрын
I want to know that we will put route /login in web.php, after authenticated and get access token, all api link i request with different methods can re-use authenticated session?
@pccc201111 күн бұрын
This is the most clearly video explain about Laravel Sanctum and Cookie based. Thanks so much!! ❤
@yuxiang421812 күн бұрын
Great video! The current stacks like Next.js and Prisma feel too abstract-it's refreshing to see everything work with basic HTTP server, raw SQL and scanners, and native HTML form method!
@satishksharma12 күн бұрын
Ofcourse your video is amazing for beginners. If you provide GitHub link that is helpful for us.
@sadekhossain956614 күн бұрын
Cookie is sent but same way in header isn't csrf cookie also sent by browser .
@AhmadAhmad-po4nl18 күн бұрын
Extremely helpful, thanks a lot!!
@Aejkv19 күн бұрын
Which theme / font are you using in VsCode ?
@mon_codes20 күн бұрын
You explain it so perfectly!
@thelaitas22 күн бұрын
I love you, man
@othmanalmahdy24 күн бұрын
a great video but i have a problem the html dose not render the posts and i loged the posts before sending them to html and there is posts avilable but no data to render ?
@cdruc23 күн бұрын
that's weird if you send me a repo link, I'll gladly have a look!
@TotallyNotZoid25 күн бұрын
You are a saviour man, thnak you!
@joshdionio107525 күн бұрын
i dont know but i think i watched your laravel sanctum videos but im still getting 419 errordamn
@ericrojas338527 күн бұрын
Oh man thanks a lot!!. I had already given up on Sanctum and was going to replace it with jwt or bearer tokens until I saw your video. You're the best!!
@Hassam-deno27 күн бұрын
Today i completed this tasks, and learned how to use v-bind. Thanks, guy!
@trispretty28 күн бұрын
I don't get how you can build an API... Where you're using postman or similar. You're not coming from a server, just a desktop app .. what does the server/VM running the API think the referer is? There's no website making the request... Just an app. Really confuses me
@cdruc28 күн бұрын
you add the referer header yourself: Laravel Sanctum and Postman kzbin.info/www/bejne/g6qZYoKfmN2DiNE
@monjuaflame832929 күн бұрын
💘 awesome
@iam.masoudsamimiАй бұрын
The "CSRF Missmatch" is mostly the combination of scripts and version problems. I have tested "axios" version 1.1.3 working with Laravel 9, 10, 11 all fine. I have tested "axios" vesrion 1.5.1 working with Laravel 9 & 10 but failing with 11. I have tested "axios" version above 1.6 and failing with Laravel 9, 10 & 11. Can anyone else test and report?
@umahatokula9586Ай бұрын
Can this be used for Google authentication on mobile app?
@yordicartagena209Ай бұрын
I try to do this but it always execute what it is in the clousure
@amir_2miАй бұрын
In that matter there is no difference between browser side cookie vs local storage, the general best practice is to store it as "HttpOnly" server-side, but I do not see that when client and backend are separately developed.
@SteliosgiannatosАй бұрын
Learning go as my 3rd language. I did not you can parse json that way. Thanks a lot for the very interesting project.
@RobertDamАй бұрын
Maybe you can make a nice tutorial of laravel reverb with react native also? Cannot find a lot about it but i am very curious how this works.
@fuzzy-02Ай бұрын
Hello, is it possible to use this as reference material? I'm learning Go and would like to buikd along with you with my own ouch, and am asking to see in case I ever put it in a public repository. (If I ever do, I will naturally leave a link to this video) Thank you!
@cdrucАй бұрын
hey, yeah, use it however you want you can find the code here as well: cdruc.com/go-weather-cli
@blankomogАй бұрын
On my local setup, My SPA is an angular app on app.domain.test:5173 My backend is on domain.test running with laravel herd I have tried everything but the cookie is just not being set in the browser
@MuhammadumarSotvoldievАй бұрын
Thank you very much, BRO! Your videos are always exactly what we need!
@alfrozzАй бұрын
can u made the Icon modul work like this, because I've got so many invisible icon at first
@ecsweb-studio2732Ай бұрын
Thanks, how to use csrf with ajax? Not just one request, for example chat.
@cdrucАй бұрын
either you get the cookie manually, when configuring the request options, or you add a request interceptor that does that automatically for all your request
@ecsweb-studio2732Ай бұрын
@@cdruc Thanks.
@farhihicham1171Ай бұрын
i love this type of videos, quick, clear, gives the minimum to get things done, thanks @cdruc
@RobertDamАй бұрын
And what happens when a user tries to load the app but he/she cancelled the subscription. Then he is logged in into the app, but his account is disabled in the backend. So requests will fail. Shoud that be checked anywhere?
@cdrucАй бұрын
you should probably check both when the app loads and on a per request basis. when the app loads offers a better experience because the user knows instantly “oh, it doesnt work because my subs is expired” rather than finding it out afterwards
@artemcodesАй бұрын
Great tutorial!
@Azaf786Ай бұрын
Subbed because of this, thanks
@ahmadg3822Ай бұрын
can u make a video for handliing this in frontend framework like react
@erikjandelangeАй бұрын
Works awesome! Thanks for the great explanation! Only problem i encounter, and i also see it in your browser on the last frames of the video, is that after a selection the term is set to empty in the url, which causes the select to reset..
@prajwalparashkar9793Ай бұрын
Wow everything is so simple and intuitive in go. Nice
@aslammamud6078Ай бұрын
loved your video man. thanks
@yoskokleng3658Ай бұрын
wait what? i never saw who use provide and inject. now i found it. u are master of vue js. thank you for make me understand and know what benefit of it. 🔥🔥🔥