Hi,
I have installed this module using below link,
https://www.drupal.org/docs/8/modules/social-api/social-api-2x/social-au...
I have installed using below command:
composer require "drupal/social_api:2.x-dev" "drupal/social_auth:2.x-dev" "drupal/social_auth_google:2.x-dev"
composer require league/oauth2-google
The library is placed in the vendor/league/ directory
In the recent log messages,
Drupal\social_api\SocialApiException: The Google library for PHP League OAuth2 not found. Class: \League\OAuth2\Client\Provider\Google. in Drupal\social_auth_google\Plugin\Network\GoogleAuth->initSdk() (line 44 of /srv/bindings/8a7e2aceeb204fc491f94185d0adc4cb/code/modules/contrib/social_auth_google/src/Plugin/Network/GoogleAuth.php).
I am getting this error message "The website encountered an unexpected error. Please try again later.", when I click on the google button.
Please fix this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| screenshot-newtab-2019.10.23-19_57_38.png | 79.06 KB | patelmayank7552 | |
| Screenshot from 2019-10-23 19-55-25.png | 61.43 KB | patelmayank7552 |
Comments
Comment #2
mudasty commentedI'm getting same issue.
Any solution?
Comment #3
gvsoThat's weird. Does the stable version also fail? This error should only happen when the league library was not installed.
Comment #4
ssankarsiva commentedI also faced same issue on hosting server but dev local machine it works. Googled it and got it fixed on server.
Steps I have done.
Comment #5
wells