Setting Redirect URI is not required here
This commit is contained in:
parent
d8c660c6d5
commit
ee398ccbc2
|
@ -47,7 +47,6 @@ class Google extends \OC\Files\Storage\Common {
|
||||||
$client = new \Google_Client();
|
$client = new \Google_Client();
|
||||||
$client->setClientId($params['client_id']);
|
$client->setClientId($params['client_id']);
|
||||||
$client->setClientSecret($params['client_secret']);
|
$client->setClientSecret($params['client_secret']);
|
||||||
$client->setRedirectUri('http://localhost/workspace/core');
|
|
||||||
$client->setScopes(array('https://www.googleapis.com/auth/drive'));
|
$client->setScopes(array('https://www.googleapis.com/auth/drive'));
|
||||||
$client->setUseObjects(true);
|
$client->setUseObjects(true);
|
||||||
$client->setAccessToken($params['token']);
|
$client->setAccessToken($params['token']);
|
||||||
|
|
Loading…
Reference in New Issue