I'm trying to use the OAuth2 php google library with the elgg engine and it's working good on localhost, but I have an error Class 'Google_client' not found...
on the server, the server uses ssl protection, I don't know any other reasons why it's not working.
elgg_register_library('AOuth:gmail', $path.'/myModul/vendor/vendor/autoload.php');
elgg_load_library('AOuth:gmail');
$client = new Google_client();
Where can be problem?