after selecting mail, the user details getting when using stateless ( $googleUser = Socialite::driver('google')->stateless()->user(); ) this code , but how to login by this in frontend nuxtjs? when doing without stateless ( $googleUser = Socialite::driver('google')->user();) getting error: Session store not set on request when selecting mail account, how to handle this?
thanks for this, liked and subscribed I was looking for this and lo, your excellent video is here on the subject. It looks astonishingly easy to make things like this work on Laravel. You explain it very well. Thank you
Thanks for these vids! Do you know of a way to disable stateful auth for Sanctum? I've got some apps with Livewire dashboards and some API endpoints that are only supposed to be used with tokens. I want to prevent logged in users from being able to access them using their sessions.
i must login to thank u so muh for this pratice also all your videos about sanctum .. it help me have the overview concept about authorize in laravel .. Keep it up
Do i really dont need to hit the /csrf-cookie for this? im trying to implement it but im just getting 401 my stateful domains and session domain is configured properly.
most likely a problem with stateful domains. open the EnsureFrontendRequestsAreStateful middleware, go to the fromFrontend method and log your $domain and $stateful. please come back and comment with ur findings 😇
Hi, can you pls make a tutorial about how add logoutOtherDevices similar what jetstream have , also when the password updated should keep the active session and logout others , + also when login send that session browser and version , and device name , ip , timestamp to user email , since we use laravel sanctum with breeze api for spa session based, ….. i hope you see my comment cause i dont want just let ai generate all codes without i understand what i doing ,, thanks i like your tutorials even your explanations is short 😅
Druc makes the best practical tutorials, right to the point with no fuss.
Thank you very much, BRO! Your videos are always exactly what we need!
You are the channel i've always been looking for! keep up the good work
after selecting mail, the user details getting when using stateless ( $googleUser = Socialite::driver('google')->stateless()->user(); ) this code , but how to login by this in frontend nuxtjs? when doing without stateless ( $googleUser = Socialite::driver('google')->user();) getting error: Session store not set on request when selecting mail account, how to handle this?
did you solved this issue?
@@nubaysan I was about to ask the same question. were you able to solve this issue ?
thanks for this, liked and subscribed
I was looking for this and lo, your excellent video is here on the subject. It looks astonishingly easy to make things like this work on Laravel. You explain it very well. Thank you
Hi @cdruc, thanks for this awesome vid. but how can i use this to the token based auth? cause we need token response to the frontend (nuxt)
Thanks for these vids! Do you know of a way to disable stateful auth for Sanctum? I've got some apps with Livewire dashboards and some API endpoints that are only supposed to be used with tokens. I want to prevent logged in users from being able to access them using their sessions.
great video man, btw what theme extension are you using?
Hey, great tutorial, but do you realy need this google_id column? Can you just match record using email?
best videos! keep this way
I love you, man
Awesome tutorial!
i must login to thank u so muh for this pratice also all your videos about sanctum .. it help me have the overview concept about authorize in laravel .. Keep it up
This is awesome! Any chance you can create one for Microsoft Entra ID? :) Or even with application proxy? That would be really really helpful!
Could you please create a video on adding Google auth (probably using socialite) in a Passport based auth setup 🥺
Bro what theme are you using, eye pleasant.
Is this possible on a Laravel as API installation?
WTF? did as you describe but got error from google when follow "redirect" url.
Error said that
Access blocked: Authorization Error
Language sir! Check that you have a valid Authorized redirect URIs under credentials.
how do I get the values of phone numbers?
thanks friend
Can this be used for Google authentication on mobile app?
can u make a video for handliing this in frontend framework like react
Do i really dont need to hit the /csrf-cookie for this? im trying to implement it but im just getting 401 my stateful domains and session domain is configured properly.
most likely a problem with stateful domains. open the EnsureFrontendRequestsAreStateful middleware, go to the fromFrontend method and log your $domain and $stateful.
please come back and comment with ur findings 😇
@@cdruc i already did those and added the necessary changes but still got the problem is it okay if i also share the repo.
@@KevinMensah-g6s sure!
@@KevinMensah-g6s I'm genuinely curios what's going on here - please send me the repo 😅
@@cdrucgithub = mamawpsg16/laravel-best-practices do you need my exact .env environment for it ?
Hi, can you pls make a tutorial about how add logoutOtherDevices similar what jetstream have , also when the password updated should keep the active session and logout others , + also when login send that session browser and version , and device name , ip , timestamp to user email , since we use laravel sanctum with breeze api for spa session based, …..
i hope you see my comment cause i dont want just let ai generate all codes without i understand what i doing ,, thanks i like your tutorials even your explanations is short 😅
Thank you!
Isn't this what Laravel Socialite does for you?
Thanks
Why Nuxt last... JK 😂 Thanks for the great videos!
Having worked with Nuxt, it makes sense.