Setting Redirect URI is not required here

This commit is contained in:
Michael Gapczynski 2013-05-16 20:35:07 -04:00
parent d8c660c6d5
commit ee398ccbc2
1 changed files with 0 additions and 1 deletions

View File

@ -47,7 +47,6 @@ class Google extends \OC\Files\Storage\Common {
$client = new \Google_Client();
$client->setClientId($params['client_id']);
$client->setClientSecret($params['client_secret']);
$client->setRedirectUri('http://localhost/workspace/core');
$client->setScopes(array('https://www.googleapis.com/auth/drive'));
$client->setUseObjects(true);
$client->setAccessToken($params['token']);