]> source.dussan.org Git - nextcloud-server.git/commitdiff
Setting Redirect URI is not required here
authorMichael Gapczynski <mtgap@owncloud.com>
Fri, 17 May 2013 00:35:07 +0000 (20:35 -0400)
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>
Sat, 3 Aug 2013 12:37:58 +0000 (15:37 +0300)
apps/files_external/lib/google.php

index 259a776142868ac9887855dd41921b5b32dcf339..3f7a9877f782e99805a0d4b4a25bca041094e380 100644 (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']);