Laravel Socialite Authentication with Facebook using Laravel 8
Laravel Socialite Authentication with Facebook using Laravel 8 Let us develop a sample web project to integrate Facebook login. First of all create a sample Laravel project using below command. If you want to know how to config Laravel in your PC please refer my blog about "First step to Laravel". composer create-project laravel/laravel <your project name> Next we should install the Laravel Socialite Package using the composer. Note that you have to include Package in Providers if you are using below version than Laravel 8 composer require laravel/socialite Add below code to config\app.php in providers section Laravel\Socialite\SocialiteServiceProvider::class, Add below code to in aliases section 'Socialite' => Laravel\Socialite\Facades\Socialite::class, To config\services.php include Facebook service ...