Socialite laravel 5.4 Facebook login error (ClientException in RequestException.php 111 line)

in the last registration with the Facebook function working fine all of a sudden, when I register or log in using facebook, then I encountered this error

ClientException in the RequestException.php 111 line: Client error: GET https://graph.facebook.com/v2.8/me?access_token=&fields=name,email,gender,verified,link&appsecret_proof=5fbda0d218f94cb8024712269c053f0186d360efd82cd358e5218f8b8e8f8b8e8f8b8e8b8b8c8f8b8b8c8f8b8b8e8ab8b8e8ab8b8b8e8ab8b8b8b8b8b8b8b8e8ab8b8e0b8b8e0e {"error": {"message": "An active access token should be used to request information about the current user.", "type": "OAuthExce (truncated ...)

I am using Socialite package

Note. For some reason I can’t update the composer or the complete socialite package

Note. I had some changes in socialite packages for some purpose. if I update the whole package, then the previous changes will affect .. I made some changes to the LinkedInProvider and GoogleProvider files .. I need the right solution for this error

My project is live and users are facing this problem. Any help would be appreciated.

+5
source share
1 answer

I had the same problem. I found that by updating the latest version, the problem was fixed. Socialite

+3
source

Source: https://habr.com/ru/post/1268660/


All Articles