Closed kresnasatya closed 5 years ago
Hi @satyakresna
Try this....
if ( $providerUser ) { return User::whereHas('identities', function (Builder $builder) use ($providerUser, $provider) { $builder->where('provider_id', $providerUser->getId()) ->where('provider_name', $provider); })->first(); }
Hi @hivokas , I just try your tutorial based on your blog post: https://hivokas.com/api-authentication-via-social-networks-for-your-laravel-application. I got an exception that says:
My SocialUserResolver.php class:
I'm using Laravel version 5.8.32.