Drupal and google oauth login -
i have following setup:
drupal 7.56
with modules:
libraries api 7.x-2.3 ([drupal url]/project/libraries)
oauth 7.x-3.4 ([drupal url]/project/oauth)
google auth 7.x-1.9 ([drupal url]/project/gauth)
i've setup credentials in google apis , seem ok (i have api key, client id , client secret) , i've set them in configuration needed.
when try press "sign google" receive following error message:
can't authenticate google library missing check status report or readme requirements
i've read in google auth page in drupal , says need install "google api php client" didn't work out. how do that? tried lots of variations , nothing worked... example:
1) created in sites\all\modules\libraries\ folder named "google-api-php-client" , extracted google api php client it
2) edited file sites\all\modules\libraries\libraries.api.php , added it:
$libraries['google-api-php-client'] = array( 'name' => 'google api php client', 'vendor url' => 'http://developers.google.com/api-client-library/php', 'download url' => 'http://developers.google.com/api-client-library/php', 'path' => 'src/google', 'version' => '2', 'files' => array( 'php' => array( 'autoload.php' ) ) ); any appreciated... thanks!
Comments
Post a Comment