Setting Redirect URI is not required here
This commit is contained in:
parent
d8c660c6d5
commit
ee398ccbc2
1 changed files with 0 additions and 1 deletions
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue