Тёмный

CORS in Laravel & Sanctum 

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

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

 

9 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@Thotsuya
@Thotsuya 10 месяцев назад
I can't express enough how much your videos and answers on stackoverflow have helped me out. Thank you Cdruc!
@bespoke00
@bespoke00 11 месяцев назад
The club bouncer reference really got me. 😀
@Daaboo
@Daaboo 6 месяцев назад
Amazing. been scratching my head why it refused to work for me but this solved it for me! liked and subbed!
@b-o-t-l-y
@b-o-t-l-y 10 месяцев назад
The best thing I've seen! I liked your clean approach! Thank you very much!
@cdruc
@cdruc 9 месяцев назад
Glad it was helpful! 👊
@SilVer-hu2ps
@SilVer-hu2ps 10 месяцев назад
You're the one who thought me about Vue and Laravel development using API. And I THANK YOU FOR THAT.
@rosu2048
@rosu2048 9 месяцев назад
probably the most straight forward explanation though, great content sir :))
@cdruc
@cdruc 9 месяцев назад
thanks!
@th3ja
@th3ja 10 месяцев назад
Awesome content! Keep it up! I'm using filament for my admin panel from a different domain. For testing purposes, I've left wildcards in the cors config file. It's worth mentioning im using jetstream which comes with its own middleware. But the sanctum is more towards api endpoints. The issue im having is viewing the images from storage folder when I want to view or edit my previously created record from the subdomain. I can however preview them on my record's image column.
@gerardotopete9711
@gerardotopete9711 7 месяцев назад
what if even though the allow access origin is set up to * or to the actual URL is defined properly, the CORS policty is still blocking the request, what can we do, besides messing up with httpd.config in apaches server?
@sapperus
@sapperus 11 месяцев назад
Great video and very clear explanations 👍 Thank you!
@ya9_47
@ya9_47 11 месяцев назад
Great video as always ! Thank you cdruc
@MikeBrownphx
@MikeBrownphx 3 месяца назад
Amazing video. Thank you!
@BarnedoDonJazielC
@BarnedoDonJazielC 28 дней назад
Thanks man your really help me 💯
@MrSannyTech
@MrSannyTech 11 месяцев назад
Great 👍🏻
@coder236
@coder236 11 месяцев назад
haha great explanation, thank-you 🙂
@АртурЗарипов-б2й
@АртурЗарипов-б2й 6 месяцев назад
Good job! Thank you very much!
@hnccox
@hnccox 11 месяцев назад
Great video! I send you an email yesterday, I was wondering if you received it? It briefly touches on https for a Laravel app behind a reverse proxy as well as verifying an email with Laraval Fortify from a different browser as from where the request was made.
@jc0164
@jc0164 11 месяцев назад
excellent !!!! thank's very much !! 😊
@congnghe24h55
@congnghe24h55 10 месяцев назад
Great, thanks very much
@karemsobhy8020
@karemsobhy8020 4 месяца назад
Can you make a video about how to work with sanctum staging server with a domain and using localhost for frontend dev environment How to make the localhost talk to the staging and accept cookies without breaking the real staging frontend
@4san_gamers
@4san_gamers 3 месяца назад
thanks
@illiantes6955
@illiantes6955 10 месяцев назад
I have a instance in amazon aws but my configuration present problems with CORS, I implemented this way for permissions in my other server but not solution my problem, please help
@nabilkrissane
@nabilkrissane 5 месяцев назад
Thank you very much
@ila6545
@ila6545 4 месяца назад
I dont understand what did I miss.I am still getting cORS errror..Any help?
@cdruc
@cdruc 4 месяца назад
well…what error are you getting?
@ila6545
@ila6545 4 месяца назад
@@cdruc thanka for the reply,I re run npm install and got it fixed.
@robroy4046
@robroy4046 6 месяцев назад
sir, I don't have cors.php or kernel.php, may I know what version you are using? because I'm using laravel 11
@cdruc
@cdruc 6 месяцев назад
hey, this video was made using laravel 10. you're probably using laravel 11 where some of the config files are not "published". you can either chose to publish them: laravel.com/docs/11.x/configuration#configuration-publishing Or, if you are setting up an application from scratch, scaffold it using Laravel Breeze: laravel.com/docs/11.x/starter-kits#introduction
@robroy4046
@robroy4046 6 месяцев назад
@@cdruc Thank you so much sir, it solve my problem :)
@boreyseth1181
@boreyseth1181 13 дней назад
@@cdruc It've been 5 month since your video have uploaded today i've got same problem,luckily i found your video
@Prohayas
@Prohayas 7 месяцев назад
Can you share a copy of your login component code?
@ahmadfraz5846
@ahmadfraz5846 6 месяцев назад
very well
@coffeeandtalk
@coffeeandtalk 10 месяцев назад
man your chnnel should have thousands of subscribers, good content
@cdruc
@cdruc 9 месяцев назад
i technically do have thousands but thanks 😂
@coffeeandtalk
@coffeeandtalk 9 месяцев назад
@@cdruc millions then bro 😂
Далее
Laravel CSRF explained
9:42
Просмотров 4,2 тыс.
Laravel Sanctum and Postman
13:54
Просмотров 11 тыс.
Laravel SPA Authentication - setup and common mistakes
16:55
Laravel Sanctum SPA Auth Overview
13:34
Просмотров 10 тыс.
Laravel vs Rails for Javascript developers
19:50
Просмотров 4,5 тыс.
You don't need a frontend framework
15:45
Просмотров 128 тыс.
Learn CORS In 6 Minutes
6:06
Просмотров 726 тыс.
How to deal with CORS error on Vue CLI 3?
9:19
Просмотров 39 тыс.
Laravel Eloquent: Deeper Relationships with One Query
10:37
The Tools I Use to Build Products in Laravel
19:00
Просмотров 32 тыс.