Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save akase244/6470d9391c9954ec5d34b8412fbed540 to your computer and use it in GitHub Desktop.
Save akase244/6470d9391c9954ec5d34b8412fbed540 to your computer and use it in GitHub Desktop.
app/Socialite/SocialiteServiceProvider.php
<?php
namespace App\Socialite;
use Laravel\Socialite\SocialiteServiceProvider as OriginalSocialiteServiceProvider;
class SocialiteServiceProvider extends OriginalSocialiteServiceProvider
{
public function register()
{
$this->app->singleton('Laravel\Socialite\Contracts\Factory', function ($app) {
return new SocialiteManager($app);
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment