Тёмный

Laravel Socialite Login with Google and Github | Custom Laravel Breeze 

Подписаться
Просмотров 19 тыс.
% 379

Here are the steps you need to follow to customize the Laravel Breeze system that supports login with GitHub and Google accounts.
Laravel tutorial.
Laravel breeze customization.
Support me:
Get the Udemy Course: bit.ly/3SMaeCY
www.patreon.com/Laraveller
Cloudways: www.cloudways.com/en/?id=1107304
DigitalOqean $200 free: m.do.co/c/35b78d1e88a4
Follow me:
Twitter: Laravellercom
Facebook Page: 1laravellercom
Instagram: laravellercom
GitHub: github.com/laraveller
Website: laraveller.com/
Setup VS CODE for Laravel: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-EliywWn4IK4.html
Setup Mac for development: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yxuR5myrVi4.html
Laravel API Vue 3 CRUD: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kFw1uRvJwIg.html
Laravel REST API: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Jqm1jgHWO_c.html
Playlists:
Laravel Splade Tutorial: bit.ly/3j0IfTW
Laravel Filament Permission: bit.ly/3Gojd8Z
Vue Authentication: bit.ly/3g7YZHd
Laravel Inertia Portfolio - bit.ly/3DlxTp5
Laravel Reddit clone - bit.ly/3UOYS2O
React tutorial for beginners - bit.ly/3arkqjX
Laravel Filament Blog - bit.ly/3nWYv74
Laravel 9 Full Tutorial - bit.ly/3nTiyTR
Laravel 9 Media Library - bit.ly/3LpJmVr
Laravel Essentials Full Tutorial - bit.ly/3vplyuC
Laravel Mail Tutorial - bit.ly/37mJUNh
Laravel Restaurant Reservation - bit.ly/3Jc5IcG
Spatie Laravel Permission - bit.ly/3pOsOhN
Laravel Testing For Beginners - bit.ly/3t1gNq4
Laravel Roles and Permissions - bit.ly/3gOhM7d
LARAVEL INERTIA MOVIE APP - bit.ly/3FVMp4Q
Laravel Livewire Movie App - bit.ly/3s8D6v1
Laravel Classified Website - bit.ly/3nsFRnb
Livewire Employees - bit.ly/2ZtIpZY
Laravel Employees Management - bit.ly/3Gglt14
Laravel admin panel - bit.ly/3CcX75M

Опубликовано:

 

9 фев 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@tonyxhepaofficial
@tonyxhepaofficial Год назад
Laravel Socialite Login with Google and Github | Custom Laravel Breeze
@kabirusani4411
@kabirusani4411 3 месяца назад
Over a year later and i find this very helpful. thanks.
@naoufalel6222
@naoufalel6222 8 месяцев назад
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 Месяц назад
Fantastic video, thank you for putting this together. It really helped me today 🤘
@ebonyandruth
@ebonyandruth Год назад
Thanks for this Tutorial; very much needed.😊
@tonyxhepaofficial
@tonyxhepaofficial Год назад
You're welcome 😊
@black-forest-code
@black-forest-code Год назад
Thanks for this great tutorial!
@user-zn7fm1su8x
@user-zn7fm1su8x 10 дней назад
Awesome work, keep up!
@micheldesouza5257
@micheldesouza5257 5 месяцев назад
Excellent , simple à comprendre
@krrishhalder
@krrishhalder 7 месяцев назад
Nice Tutorial, thanks a lot.
@tonyxhepaofficial
@tonyxhepaofficial 7 месяцев назад
You are welcome!
@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
@ngounthengos
@ngounthengos Год назад
Very helpful. thank you very much/.
@Atz22
@Atz22 9 месяцев назад
very helpful 🙂
@meltech6812
@meltech6812 Год назад
It is possible to sign in with a diffrerent google accounts?
@constantine9074
@constantine9074 8 месяцев назад
anyone tried to relogin with same account? wouldn't this if statement which checks existing email be true every time ?
@ripunjaykashyap
@ripunjaykashyap 6 месяцев назад
Yeah... 100%... huge error in the logic... making unnecessarily complicated...
@hectormorada957
@hectormorada957 4 месяца назад
add google_id to users table, check if it exists every time you relogin the same google acc
@nguynthhng1
@nguynthhng1 3 месяца назад
I thought that logic was making sense here?
@thanakornboy1129
@thanakornboy1129 Год назад
Thank you for this video, Could you please make video Laravel splade + laravel Socailite
@MohamedMohamed-wp2hs
@MohamedMohamed-wp2hs 8 месяцев назад
Why don't you use the API in the video?
@mazharulislam1276
@mazharulislam1276 10 месяцев назад
great.
@iqbalibrahim4713
@iqbalibrahim4713 Месяц назад
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
@mgabitin11
@mgabitin11 10 месяцев назад
THAAAAAAAAAAAAAAAANK YOUUUUUUUUUU!
@genarocomdo
@genarocomdo 2 месяца назад
How can I do that not for blade template but Laravel API and React JS?
@nguynthhng1
@nguynthhng1 3 месяца назад
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?
@websers-4402
@websers-4402 4 дня назад
there is a problem i think can't update name if we do we can't login with google
@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.
@spicytea3598
@spicytea3598 Год назад
I would like to simply authorize the user when the button is clicked again
@user-dq6gj1ek9c
@user-dq6gj1ek9c Год назад
ThankYOuSoMuchSir
@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
@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 11 месяцев назад
@@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 4 месяца назад
can you plz provide source code ?
@MagnoKellyFelipe
@MagnoKellyFelipe 3 месяца назад
I ended with ::: Laravel\ Socialite\ Two\ InvalidStateException 😢
@spicytea3598
@spicytea3598 Год назад
But, what if I have 5 google accounts?