Add Github and Google authentication to your Laravel application

  Рет қаралды 4,735

cdruc

cdruc

Күн бұрын

Пікірлер: 11
3 жыл бұрын
In the past, it was nearly impossible to get the oauth user email from Twitter.
@misbahansori
@misbahansori 3 жыл бұрын
Nice tutorial 👍
3 жыл бұрын
Awesome, thank you!
@timwong2396
@timwong2396 Жыл бұрын
Thank You , nice tutorial !!
@wahyunurarizky1911
@wahyunurarizky1911 2 жыл бұрын
very nice tutorialssss
@alaadq8130
@alaadq8130 2 жыл бұрын
What if we have spreated frontend server like Vue spa app How we can setup the flow??
@oketafred
@oketafred 3 жыл бұрын
Nice tutorial
@vladyslav.ishchuk
@vladyslav.ishchuk 2 жыл бұрын
It does not work with laravel jetstream (can't login) I know about socialstream package, but I want do it by myself
@AksoomHussain7866
@AksoomHussain7866 3 жыл бұрын
is it fine to have updateOrCreate on user so they have flexibility to have different ways either password or social login? or there is some catch
@cdruc
@cdruc 3 жыл бұрын
I guess it's ok - the assumption here is that the provider has already verified the e-mail address being used. And there's another catch: You should reset the user password and clear all their auth sessions if you find an account where they haven't verified their e-mail to avoid a highjacking (account created by ill-intentioned user using your e-mail, you signing in with your social, then the ill-intentioned user can login using the password). Some pseudo code: $user = User::findByEmail('$socialiteUser->getEmail()); if (!$user->hasVerifiedEmail()) { // reset password, clear auth sessions } else { // user is new, just create it and set their email_verified_at to now() }
@mibrahim4245
@mibrahim4245 2 жыл бұрын
Thanks a lot .. side question .. how do you make that default profile picture with the letters of the username .. Thanks
Laravel SPA Authentication - setup and common mistakes
16:55
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
LARAVEL SOCIALITE - LOGIN WITH SOCIAL ACCOUNT - GOOGLE SOCIAL LOGIN
22:52
Adding Social Logins with Laravel Socialite
10:24
Andrew Schmelyun
Рет қаралды 56 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Stripe Complete Checkout Process in Laravel
1:03:36
The Codeholic
Рет қаралды 56 М.
Laravel SPA Auth different domains
10:51
cdruc
Рет қаралды 9 М.
Setup Google OAuth sign in 6 minutes
6:51
Appwrite
Рет қаралды 113 М.