In your config\services.php
you can add the following code
'facebook' => [
'client_id' => 'your-facebook-app-id',
'client_secret' => 'your-facebook-app-secret',
'redirect' => 'http://your-callback-url',
],
You'll also need to add the Provider to your config\app.php
Look for 'providers' => []
array and, at the end of it, add the following
'providers' => [
...
Laravel\Socialite\SocialiteServiceProvider::class,
]
A Facade is also provided with the package. If you would like to make usage of it make sure that the aliases
array (also in your config\app.php
) has the following code
'aliases' => [
....
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
]