Laravel SPA Auth different domains

  Рет қаралды 9,036

cdruc

cdruc

Күн бұрын

Пікірлер: 34
@jondoe79
@jondoe79 Жыл бұрын
Drac, your tutorials are the best explained and concise 🎉
@mutalovsarvar
@mutalovsarvar 8 күн бұрын
Bro you saved my life. Your video should be included in official docs
@Andre_RDX5
@Andre_RDX5 Жыл бұрын
Constantin, AGAIN you are my hero! Your tutorials always cut to the core detail of a solution. Thank you for a really great learning experience.
@Andre_RDX5
@Andre_RDX5 Жыл бұрын
And I've subscribed for your course. When, When, When!? 🤣😂
@_timestamp
@_timestamp Жыл бұрын
Fireship who? You are the number one on youtube tech now 😂
@AmandaColares-x4t
@AmandaColares-x4t 10 ай бұрын
very good explanation
@bootstraply
@bootstraply Жыл бұрын
You are awesome, really needed this, thank you
@AmeerHamza-fu3rz
@AmeerHamza-fu3rz Жыл бұрын
Thankyou for such a great course, Can you also make videos on Laravel socialite Authentication (login with goggle, login with apple ID) with Nuxt 3.
@shortymx20
@shortymx20 10 ай бұрын
I'm having a hard time fully understanding this example. Isn't the proxy irrelevant? It does make the first example work, but it's a bit of a weird use case in my opinion. Technically, it only works because the laravel backend does actually live on the same domain nuxt.test. The api.test route only points towards that. If you actually were to host the laravel backend at api.test, the proxy itself wouldn't work too, like in the other 2 examples. To make the other 2 examples work, you removed SESSION_DOMAIN from the .env. I feel like now direct requests would also work without a proxy? And isn't removing the session domain a big security risk? There has to be a reason it's in the .env. Couldn't I make successful authentication requests to the laravel api from any domain now?
@andresfontalvo2430
@andresfontalvo2430 5 ай бұрын
Broooooooooo
@nielsvandervlist3520
@nielsvandervlist3520 7 ай бұрын
What about this: Cookies with the SameSite=None; Secure and not Partitioned attributes that operate in cross-site contexts are third-party cookies. In future Chrome versions, setting third-party cookies will be blocked. This behavior protects user data from cross-site tracking. Not to worry when using a proxy?
@yasirarafat-dev
@yasirarafat-dev 7 ай бұрын
How we can setup custom domain for nuxt app. like u setup. for my environment I am using laragon which have custom domain features. But I can't make it to work for nuxt app. And thank you for your videos. It's really helpful.
@Vladimir-if1uk
@Vladimir-if1uk 8 ай бұрын
@cdruc What is better, use this proxy opportunities or implement them on nginx side? And is it possible?
@JoaoSilva-of6pl
@JoaoSilva-of6pl Жыл бұрын
Amazing! Thank You!
@d3vfc334
@d3vfc334 10 ай бұрын
YOU'RE THE BEST 🎉
@iamsomraj
@iamsomraj Жыл бұрын
Hey! Could you please the mention the font and theme?
@cdruc
@cdruc Жыл бұрын
Night Owl + SF Mono font 👌
@hnccox
@hnccox Жыл бұрын
Can you make a video how to login different TLD using laravel sanctum tokens or JWT ?
@WalidWalid-wg7rk
@WalidWalid-wg7rk 6 ай бұрын
what is the name of the editor please
@MsIlius
@MsIlius Жыл бұрын
❤ thanks please create a content for nuxt 3 shared host deployment.
@basarokke4403
@basarokke4403 Жыл бұрын
❤FINALLY. THANK YOU
@jacquesmatike9289
@jacquesmatike9289 6 ай бұрын
Thanks a lot 🎉
@MrFloat4494
@MrFloat4494 11 ай бұрын
How can I use Laravel Sanctum API to interact with Nuxt?
@cdruc
@cdruc 11 ай бұрын
not sure what you mean by that mr Trump. Like laravel calling a nuxt api endpoint?
@setiawansetya9776
@setiawansetya9776 10 ай бұрын
mr. Trump? lol 😆
@วีระพงษ์สุราโพธิ์-บ9ป
@วีระพงษ์สุราโพธิ์-บ9ป Жыл бұрын
Why show 419 proxy reauthenticarion required
@cdruc
@cdruc Жыл бұрын
missing x-xsrf-token header probably
@วีระพงษ์สุราโพธิ์-บ9ป
@วีระพงษ์สุราโพธิ์-บ9ป Жыл бұрын
@@cdruc I put the project into production const response = await fetch("/backend/login", { credentials: "include", method: "POST", headers: { accept : 'application/json', 'x-xsrf-token': useCookie('XSRF-TOKEN').value || "" }, body: form.value }); or i can use localstorage auth?
@mujiburrahman4609
@mujiburrahman4609 Жыл бұрын
Please make laravel vue inertia project how to integrate dashboard . Please please Please please
@awaidus
@awaidus Жыл бұрын
Super fantastic
@hnccox
@hnccox Жыл бұрын
Thanks!
@cdruc
@cdruc Жыл бұрын
Thank you 👊
Laravel SPA Authentication - setup and common mistakes
16:55
Laravel Sanctum SPA Auth Overview
13:34
cdruc
Рет қаралды 10 М.
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 33 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
Laravel Sanctum and Postman
13:54
cdruc
Рет қаралды 12 М.
Laravel Sanctum SPA Tutorial - React SPA Authentication With Sanctum
14:27
05 - Token-based Authentication
12:52
Laravel
Рет қаралды 27 М.
The Tools I Use to Build Products in Laravel
19:00
Josh Cirre
Рет қаралды 40 М.
NextJS and Laravel Can Be Friends
23:54
Laravel
Рет қаралды 28 М.
Session-Based Authentication in Golang
23:36
cdruc
Рет қаралды 4,1 М.
Laravel Passport vs Sanctum: What's the difference?
8:28
Andrew Schmelyun
Рет қаралды 16 М.
Sanctum & Passport, with Taylor Otwell
24:16
Laravel Podcast
Рет қаралды 3,6 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 261 М.
Learnings from our multi-tenant Laravel application
9:58
Sabatino Develops
Рет қаралды 17 М.
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН