Laravel Socialite - Login with Google | Laravel 9 | Laravel 2022
HTML-код
- Опубликовано: 28 сен 2024
- Hi Everyone,
In this video, I will show you how you can login with google using Socialite Package in Laravel.
Google Console link:
console.cloud....
If you found the content useful, please like the video, subscribe to my channel and Share with others!
.
.
Also, if you have any query feel free to ask down below in the comment section.
.
.
Enjoy the video!
.
.
.
Follow me on Facebook Page:
/ hesantechngaming
And/Or
Follow on Instagaram:
/ _techngaming
#webdevelopment #backend #php #programming #laravel #socialite #socialLogin #tinker #mvc #laravel2022 #laravel9 #laravelAuth #authentication #google #oauth
When I click on the selected Google account, it displays "Not Found The requested URL was not found on this server". How do I fix it?
hi bro, could you make tutorial laravel socialite with passport?
bro why you using this font for your IDE lol, good tutorial
Changed it to a bit normal in newer videos 😅
I'm Spanish-speaking, I was looking for videos similar to this one in Spanish but I didn't find any :(
another little thing, share the button xd
I have been trying to overcome this error for several days and without success. Laravel\ Socialite\ Two \ InvalidStateException (laravel 10.10.1)
i do everything like you do, also watched a lot of other videos and info and gpt chat haha, also i created a new clean laravel project and i try to do it here but without success. I do not understand why. i am using docker. I tried github and twitter authorization, the problem is the same. some people say that it may be in the sessions, but as I see you didn’t even change this functionality, and the usual authorization works correctly for me. I look forward to your reply, thanks!
stackoverflow.com/a/64176317/12246735
Try this one or other answers above
@@HesanNaveedYT Unfortunately, these solutions did not help or are outdated, as a result I get an error 401 not authorized. Thanks anyway for the answer.
@@HesanNaveedYT i can get information like this $user = Socialite::driver('github')->userFromToken($token); but standard $user = Socialite::driver('github')->user(); throws an error, I'm completely confused.
I'm looking for a solution to the same error.
can i make it using sanctum package ?
Yes, this is just a simple demonstration of how you can achieve Social Auth with simple Laravel and Blade. You can grasp the idea behind using it and try with Rest APIs or sanctum.
Great job , upload more video
Thanks Great tutorial. All other tutorials miss this step of credentials.
please use plain text in VS Code this will increase readability.
Noted.
Very good Simple and short always ...❤
Nice! Thanks for sharing this.
Top!