Target [Laravel\Socialite\Contracts\Factory] is not instantiable

Target [Laravel\Socialite\Contracts\Factory] is not instantiable.

I came across this error when trying to get Laravel to login with GitHub using the Socialite package.

Target [Laravel\Socialite\Contracts\Factory] is not instantiable

To fix this you might have forgotten to add the service provider for the package.

So add this to config/app.php

Then it should work.

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *