Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
app/Socialite/SocialiteManager.php
<?php
namespace App\Socialite;
use Laravel\Socialite\SocialiteManager as OriginalSocialiteManager;
class SocialiteManager extends OriginalSocialiteManager
{
protected function createFacebookDriver()
{
$config = $this->app['config']['services.facebook'];
return $this->buildProvider(
'App\Providers\FacebookProvider', $config
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment