I had the same problem, and after the usual half hour of rage, I realized that there was some kind of final place at the end of my registration line.
'Laravel\Socialite\SocialiteServiceProvider ',
Once I removed the space enough, it worked!
'Laravel\Socialite\SocialiteServiceProvider',
Once again, copy and paste problems raise their ugly heads!
source share