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.
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?
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?
@@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?
Drac, your tutorials are the best explained and concise 🎉
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.
And I've subscribed for your course. When, When, When!? 🤣😂
very good explanation
Fireship who? You are the number one on youtube tech now 😂
You are awesome, really needed this, thank you
Amazing! Thank You!
YOU'RE THE BEST 🎉
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.
❤FINALLY. THANK YOU
Super fantastic
Thanks a lot 🎉
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.
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?
@cdruc What is better, use this proxy opportunities or implement them on nginx side? And is it possible?
Broooooooooo
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?
❤ thanks please create a content for nuxt 3 shared host deployment.
Can you make a video how to login different TLD using laravel sanctum tokens or JWT ?
Hey! Could you please the mention the font and theme?
Night Owl + SF Mono font 👌
Thanks!
Thank you 👊
what is the name of the editor please
How can I use Laravel Sanctum API to interact with Nuxt?
not sure what you mean by that mr Trump. Like laravel calling a nuxt api endpoint?
mr. Trump? lol 😆
Why show 419 proxy reauthenticarion required
missing x-xsrf-token header probably
@@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?
Please make laravel vue inertia project how to integrate dashboard . Please please Please please