Simple file uploads in Golang
8:09
Preventing CSRF Attacks in Golang
6:45
Serving Static Files in Golang
2:36
Caching HTML templates in Golang
5:55
Render an HTML template in Golang
2:47
Routing in golang
5:31
4 ай бұрын
Effortless Vue.js Forms
9:36
5 ай бұрын
Toggle Terminal in ZED
1:50
7 ай бұрын
Laravel Sanctum SPA Auth Overview
13:34
Пікірлер
@audoublev_edu-me8jp
@audoublev_edu-me8jp 8 сағат бұрын
Hi, may I ask what font you're using, looks so nice 😅😅
@cdruc
@cdruc 4 сағат бұрын
ibm plex mono
@sadhakbj
@sadhakbj Күн бұрын
Bro at least give one video per week.
@qozeemmonsurudeen9594
@qozeemmonsurudeen9594 2 күн бұрын
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
@cdruc
@cdruc 2 күн бұрын
you shouldnt have to. something is wrong in your setup
@qozeemmonsurudeen9594
@qozeemmonsurudeen9594 2 күн бұрын
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
@unknownguywholovespizza
@unknownguywholovespizza 2 күн бұрын
What's the name of your vs code's color theme please
@haizk
@haizk 3 күн бұрын
wow very straight forward! thanks
@mutalovsarvar
@mutalovsarvar 3 күн бұрын
Bro you saved my life. Your video should be included in official docs
@ArtikLamartik
@ArtikLamartik 4 күн бұрын
you from Iași?
@ingles-u6b
@ingles-u6b 4 күн бұрын
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?
@cdruc
@cdruc 4 күн бұрын
the token is associated to the session id. and every visitor, logged in or not, has one
@ingles-u6b
@ingles-u6b 3 күн бұрын
​@@cdruc Thanks for answer, Your content is pretty good. I hope your channel grows much more; it deserves it 😋😋
@MuhamadAzizPrasetyo
@MuhamadAzizPrasetyo 4 күн бұрын
how about performance if we have a ton of value in that array?
@Juikun
@Juikun 6 күн бұрын
what is timmy generate?
@cdruc
@cdruc 5 күн бұрын
just me making fun of chatgippidy before it comes and takes my job
@hosseingh9146
@hosseingh9146 6 күн бұрын
Great explanation!
@ajaykumar-l3y2n
@ajaykumar-l3y2n 7 күн бұрын
Good sir my issue fixed
@antoniocosta7565
@antoniocosta7565 9 күн бұрын
Exatamente o que eu tava procurando, valeu demais 🎉
@pccc2011
@pccc2011 11 күн бұрын
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?
@pccc2011
@pccc2011 11 күн бұрын
This is the most clearly video explain about Laravel Sanctum and Cookie based. Thanks so much!! ❤
@yuxiang4218
@yuxiang4218 12 күн бұрын
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!
@satishksharma
@satishksharma 12 күн бұрын
Ofcourse your video is amazing for beginners. If you provide GitHub link that is helpful for us.
@sadekhossain9566
@sadekhossain9566 14 күн бұрын
Cookie is sent but same way in header isn't csrf cookie also sent by browser .
@AhmadAhmad-po4nl
@AhmadAhmad-po4nl 18 күн бұрын
Extremely helpful, thanks a lot!!
@Aejkv
@Aejkv 19 күн бұрын
Which theme / font are you using in VsCode ?
@mon_codes
@mon_codes 20 күн бұрын
You explain it so perfectly!
@thelaitas
@thelaitas 22 күн бұрын
I love you, man
@othmanalmahdy
@othmanalmahdy 24 күн бұрын
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 ?
@cdruc
@cdruc 23 күн бұрын
that's weird if you send me a repo link, I'll gladly have a look!
@TotallyNotZoid
@TotallyNotZoid 25 күн бұрын
You are a saviour man, thnak you!
@joshdionio1075
@joshdionio1075 25 күн бұрын
i dont know but i think i watched your laravel sanctum videos but im still getting 419 errordamn
@ericrojas3385
@ericrojas3385 27 күн бұрын
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-deno
@Hassam-deno 27 күн бұрын
Today i completed this tasks, and learned how to use v-bind. Thanks, guy!
@trispretty
@trispretty 28 күн бұрын
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
@cdruc
@cdruc 28 күн бұрын
you add the referer header yourself: Laravel Sanctum and Postman kzbin.info/www/bejne/g6qZYoKfmN2DiNE
@monjuaflame8329
@monjuaflame8329 29 күн бұрын
💘 awesome
@iam.masoudsamimi
@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
@umahatokula9586 Ай бұрын
Can this be used for Google authentication on mobile app?
@yordicartagena209
@yordicartagena209 Ай бұрын
I try to do this but it always execute what it is in the clousure
@amir_2mi
@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
@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
@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
@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
@cdruc Ай бұрын
hey, yeah, use it however you want you can find the code here as well: cdruc.com/go-weather-cli
@blankomog
@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
@MuhammadumarSotvoldiev Ай бұрын
Thank you very much, BRO! Your videos are always exactly what we need!
@alfrozz
@alfrozz Ай бұрын
can u made the Icon modul work like this, because I've got so many invisible icon at first
@ecsweb-studio2732
@ecsweb-studio2732 Ай бұрын
Thanks, how to use csrf with ajax? Not just one request, for example chat.
@cdruc
@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
@ecsweb-studio2732 Ай бұрын
@@cdruc Thanks.
@farhihicham1171
@farhihicham1171 Ай бұрын
i love this type of videos, quick, clear, gives the minimum to get things done, thanks @cdruc
@RobertDam
@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
@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
@artemcodes Ай бұрын
Great tutorial!
@Azaf786
@Azaf786 Ай бұрын
Subbed because of this, thanks
@ahmadg3822
@ahmadg3822 Ай бұрын
can u make a video for handliing this in frontend framework like react
@erikjandelange
@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
@prajwalparashkar9793 Ай бұрын
Wow everything is so simple and intuitive in go. Nice
@aslammamud6078
@aslammamud6078 Ай бұрын
loved your video man. thanks
@yoskokleng3658
@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. 🔥🔥🔥
@DevelopmentAltıniş
@DevelopmentAltıniş Ай бұрын
thank u dude thank u <3