How to Make Login/Sign In with Google Account in Laravel Tutorial

preview_player
Показать описание
#loginwithgoogleinlaravel

Support This Channel :

Join this channel to get access to perks:

Your support will be really appreciated.

Thanks For Watching.
I hope This video was helpful. If you have any questions then let me know in the comment section.

Best of luck

#webtechknowledge

You can connect with me with the given links below:

Рекомендации по теме
Комментарии
Автор

Code shown in the video for copy :


try {

$user =

$finduser = User::where('google_id', $user->id)->first();

if($finduser)

{

Auth::login($finduser);

return

}

else

{
$newUser = User::create([
'name' => $user->name,
'email' => $user->email,
'google_id'=> $user->id,
'password' => encrypt('123456dummy')
]);

Auth::login($newUser);

return
}

} catch (Exception $e) {
dd($e->getMessage());
}

WebTechKnowledge
Автор

Thankyou, your e-commerce playlist help me a lot

ajengalyakartikasari_
Автор

is this video is elong to the ecommerce project or individual video?

ahmedsharaf
Автор

Laravel er full project এর জন্য ভিডিও চাই, আপনার ভিডিও গুলো সহজে বুঝা যায়, ধন্যবাদ

Hasanuttarek
Автор

If we login with gmail we have to verification email(in previous video) how we can pass that

duydatpham
Автор

I can't declare class Socialite, I have tried everything please help

HoangThanhTungPH
Автор

So where does the user's password come from?

samirapadidar
Автор

user login korle error dekhay
jetstream ar autication ar maddome admin a login korle thik ache, but userpage a login korle error dekhay,

learnlarave