Laravel Socialite Login with Google and Github | Custom Laravel Breeze
@kabirusani44119 ай бұрын
Over a year later and i find this very helpful. thanks.
@Quintus-Horatius Жыл бұрын
Excellent tutorial, maybe the best/clearest out there on this topic. Continue !
@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
@jamiebradley25057 ай бұрын
Fantastic video, thank you for putting this together. It really helped me today 🤘
@BilalAmin-v5z6 ай бұрын
Awesome work, keep up!
@constantine9074 Жыл бұрын
anyone tried to relogin with same account? wouldn't this if statement which checks existing email be true every time ?
@ripunjaykashyap Жыл бұрын
Yeah... 100%... huge error in the logic... making unnecessarily complicated...
@hectormorada95710 ай бұрын
add google_id to users table, check if it exists every time you relogin the same google acc
@nguynthhng19 ай бұрын
I thought that logic was making sense here?
@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 Жыл бұрын
Thanks for this Tutorial; very much needed.😊
@tonyxhepaofficial Жыл бұрын
You're welcome 😊
@jacejojiАй бұрын
12:43 Getting invalid request error from google here
@krrishhalder Жыл бұрын
Nice Tutorial, thanks a lot.
@tonyxhepaofficial Жыл бұрын
You are welcome!
@nguynthhng19 ай бұрын
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?
@iqbalibrahim47137 ай бұрын
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
@micheldesouza525711 ай бұрын
Excellent , simple à comprendre
@genarocomdo8 ай бұрын
How can I do that not for blade template but Laravel API and React JS?
@black-forest-code Жыл бұрын
Thanks for this great tutorial!
@websers-44026 ай бұрын
there is a problem i think can't update name if we do we can't login with google
@MohamedMohamed-wp2hs Жыл бұрын
Why don't you use the API in the video?
@meltech6812 Жыл бұрын
It is possible to sign in with a diffrerent google accounts?
@abdulmuhshi6842 ай бұрын
can you please make another tutorial for filament socialite
@spicytea3598 Жыл бұрын
I would like to simply authorize the user when the button is clicked again
@Atz22 Жыл бұрын
very helpful 🙂
@mgabitin11 Жыл бұрын
THAAAAAAAAAAAAAAAANK YOUUUUUUUUUU!
@ngounthengos Жыл бұрын
Very helpful. thank you very much/.
@thanakornboy1129 Жыл бұрын
Thank you for this video, Could you please make video Laravel splade + laravel Socailite
@bhaidar Жыл бұрын
Hey Tony, great video, as usual. Have you managed to connect Laravel/Twitter via Socialite?
@tonyxhepaofficial Жыл бұрын
Not yet Bilal. I think is the same.
@nhatnguyenba4641Ай бұрын
nice
@Ali715 ай бұрын
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 Жыл бұрын
great.
@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 Жыл бұрын
did you get the solution? its already months for me now, but still didnt get the solution,
@xp0nat Жыл бұрын
@@ihzakarunia2408 nope :c
@mickonflicker2703 Жыл бұрын
I've heard the same issue, tried same approaches and no solution yet,
@mickonflicker2703 Жыл бұрын
I'm gonna try with laravel 9 and see
@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
@shaheerkhalid176510 ай бұрын
can you plz provide source code ?
@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 Жыл бұрын
theme?
@tonyxhepaofficial Жыл бұрын
Phpstorm Material UI, Vscode Aura
@AjeetVerma-k2z Жыл бұрын
ThankYOuSoMuchSir
@MagnoKellyFelipe9 ай бұрын
I ended with ::: Laravel\ Socialite\ Two\ InvalidStateException 😢