First We should install Laravel Socialite: composer require laravel / socialite Configuration: After installing the Socialite library, register the Laravel\Socialite\SocialiteServiceProvider in your config/app.php configuration file: ' providers ' => [ // Other service providers... Laravel\Socialite\ SocialiteServiceProvider :: class , ], Also, add the Socialite facade to the aliases array in your app configuration file: ' Socialite ' => Laravel\Socialite\Facades\ Socialite :: class , Configuration Part-2: Before using Socialite, you will also need to add credentials for the OAuth services your application utilizes. These credentials should be placed in your config / services . php configuration file, and should use the key facebook , twitter , linkedin , google , github or bitbucket , depending on the providers your app...