Laravel Socialite Login with Google and Github | Custom Laravel Breeze

  Рет қаралды 22,669

Tony Xhepa

Tony Xhepa

Күн бұрын

Пікірлер: 53
@tonyxhepaofficial
@tonyxhepaofficial Жыл бұрын
Laravel Socialite Login with Google and Github | Custom Laravel Breeze
@kabirusani4411
@kabirusani4411 9 ай бұрын
Over a year later and i find this very helpful. thanks.
@Quintus-Horatius
@Quintus-Horatius Жыл бұрын
Excellent tutorial, maybe the best/clearest out there on this topic. Continue !
@fordiquez
@fordiquez Жыл бұрын
If it is necessary to implement authorization through several providers, then it looks more logical to put the provider fields in a separate table, for example, user_socials with hasMany releation from user, in order to allow the user to log in not only with one provider, since now, for example, we only have a github & google provider, but we only allow binding one of them, not both. It is also especially necessary to do this if there are plans to implement the ability to connect social networks in the user profile. In addition, I don’t understand the logic of checking whether a user with a provider email exists, since when a user logs in through the provider for the first time, everything goes fine, but it’s enough to log out and try the same action again, he will get an error that this email uses another method for authorization
@jamiebradley2505
@jamiebradley2505 7 ай бұрын
Fantastic video, thank you for putting this together. It really helped me today 🤘
@BilalAmin-v5z
@BilalAmin-v5z 6 ай бұрын
Awesome work, keep up!
@constantine9074
@constantine9074 Жыл бұрын
anyone tried to relogin with same account? wouldn't this if statement which checks existing email be true every time ?
@ripunjaykashyap
@ripunjaykashyap Жыл бұрын
Yeah... 100%... huge error in the logic... making unnecessarily complicated...
@hectormorada957
@hectormorada957 10 ай бұрын
add google_id to users table, check if it exists every time you relogin the same google acc
@nguynthhng1
@nguynthhng1 9 ай бұрын
I thought that logic was making sense here?
@MartyLEire
@MartyLEire Жыл бұрын
Great tutorial. One thing to point out - Github allows you to not have a name and if a user attempts to sign up without one then it will break the logic
@ebonyandruth
@ebonyandruth Жыл бұрын
Thanks for this Tutorial; very much needed.😊
@tonyxhepaofficial
@tonyxhepaofficial Жыл бұрын
You're welcome 😊
@jacejoji
@jacejoji Ай бұрын
12:43 Getting invalid request error from google here
@krrishhalder
@krrishhalder Жыл бұрын
Nice Tutorial, thanks a lot.
@tonyxhepaofficial
@tonyxhepaofficial Жыл бұрын
You are welcome!
@nguynthhng1
@nguynthhng1 9 ай бұрын
In the video, why at the first login, Google and Github will ask the user for approval to provide the corresponding provider's account information for the application for which they are registering an account? And in subsequent registerings by oauth method, providers do not ask for user approval anymore?
@iqbalibrahim4713
@iqbalibrahim4713 7 ай бұрын
How can I use SSO like this for multiple domains? where if i login to domain1, i do not need to login to domain2 because i already login to domain1
@micheldesouza5257
@micheldesouza5257 11 ай бұрын
Excellent , simple à comprendre
@genarocomdo
@genarocomdo 8 ай бұрын
How can I do that not for blade template but Laravel API and React JS?
@black-forest-code
@black-forest-code Жыл бұрын
Thanks for this great tutorial!
@websers-4402
@websers-4402 6 ай бұрын
there is a problem i think can't update name if we do we can't login with google
@MohamedMohamed-wp2hs
@MohamedMohamed-wp2hs Жыл бұрын
Why don't you use the API in the video?
@meltech6812
@meltech6812 Жыл бұрын
It is possible to sign in with a diffrerent google accounts?
@abdulmuhshi684
@abdulmuhshi684 2 ай бұрын
can you please make another tutorial for filament socialite
@spicytea3598
@spicytea3598 Жыл бұрын
I would like to simply authorize the user when the button is clicked again
@Atz22
@Atz22 Жыл бұрын
very helpful 🙂
@mgabitin11
@mgabitin11 Жыл бұрын
THAAAAAAAAAAAAAAAANK YOUUUUUUUUUU!
@ngounthengos
@ngounthengos Жыл бұрын
Very helpful. thank you very much/.
@thanakornboy1129
@thanakornboy1129 Жыл бұрын
Thank you for this video, Could you please make video Laravel splade + laravel Socailite
@bhaidar
@bhaidar Жыл бұрын
Hey Tony, great video, as usual. Have you managed to connect Laravel/Twitter via Socialite?
@tonyxhepaofficial
@tonyxhepaofficial Жыл бұрын
Not yet Bilal. I think is the same.
@nhatnguyenba4641
@nhatnguyenba4641 Ай бұрын
nice
@Ali71
@Ali71 5 ай бұрын
Thanks for this Useful Content! Can you please make a video on OneTap Login using JS and Html in laravel 10 jetstream project I have added this traditional Oauth 2 google sign in functionality in this project in my login form but I am trying also to add OneTap Sign with google in this project using the same credentials, even(also I use separate credential for it But I cannot integrate it somehow, I spent 2 weeks and then I Left it there but every time It says token retrieve error and fedcm get() reject with credential not found something like that Please anyone can help me in this regard! I have tried many ways I Shall be very grateful to you! The only thing I am going to try now is to add columns for token also in this as you have in this video but my simple google login socialite also working fine without token, May be this One Tap Login needs token columns in the table
@mazharulislam1276
@mazharulislam1276 Жыл бұрын
great.
@xp0nat
@xp0nat Жыл бұрын
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!
@ihzakarunia2408
@ihzakarunia2408 Жыл бұрын
did you get the solution? its already months for me now, but still didnt get the solution,
@xp0nat
@xp0nat Жыл бұрын
@@ihzakarunia2408 nope :c
@mickonflicker2703
@mickonflicker2703 Жыл бұрын
I've heard the same issue, tried same approaches and no solution yet,
@mickonflicker2703
@mickonflicker2703 Жыл бұрын
I'm gonna try with laravel 9 and see
@ihzakarunia2408
@ihzakarunia2408 Жыл бұрын
@@mickonflicker2703 oh yeah already solved it, its only happened in production. I'm using shared hosting with cpanel, and its using ModSecurity and it has something to do with state sent after google redirect. After turned it off, the problem goes away
@shaheerkhalid1765
@shaheerkhalid1765 10 ай бұрын
can you plz provide source code ?
@erenergul1772
@erenergul1772 Жыл бұрын
If you can make OneTap Login tutorial. It will be probably unique. I searched a lot and implement also my project but it was difficult to find video or any documents laravel with OneTap Login Google. Still i have few issues. If you can make a video about it. It will be good. Thanks
@necipkuruncu
@necipkuruncu Жыл бұрын
theme?
@tonyxhepaofficial
@tonyxhepaofficial Жыл бұрын
Phpstorm Material UI, Vscode Aura
@AjeetVerma-k2z
@AjeetVerma-k2z Жыл бұрын
ThankYOuSoMuchSir
@MagnoKellyFelipe
@MagnoKellyFelipe 9 ай бұрын
I ended with ::: Laravel\ Socialite\ Two\ InvalidStateException 😢
@spicytea3598
@spicytea3598 Жыл бұрын
But, what if I have 5 google accounts?
LARAVEL SOCIALITE - LOGIN WITH SOCIAL ACCOUNT - GOOGLE SOCIAL LOGIN
22:52
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
From Zero to "Log In With GitHub" in Minutes, using Laravel
11:47
Laravel Breeze Login with email or username
15:32
Tony Xhepa
Рет қаралды 10 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 53 М.
Adding Social Logins with Laravel Socialite
10:24
Andrew Schmelyun
Рет қаралды 56 М.
Laravel Dusk: painless browser automation
20:49
Aaron Francis
Рет қаралды 24 М.
Struggling with Laravel + Vite
34:38
Aaron Francis
Рет қаралды 10 М.
Laravel 10 full course for beginner - login with GitHub
9:06
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН