{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/877","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/877/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/877/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/877/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/877","id":107492966,"number":877,"title":"cant make signed url","user":{"login":"stellanhaglund","id":2523054,"avatar_url":"https://avatars.githubusercontent.com/u/2523054?v=3","gravatar_id":"","url":"https://api.github.com/users/stellanhaglund","html_url":"https://github.com/stellanhaglund","followers_url":"https://api.github.com/users/stellanhaglund/followers","following_url":"https://api.github.com/users/stellanhaglund/following{/other_user}","gists_url":"https://api.github.com/users/stellanhaglund/gists{/gist_id}","starred_url":"https://api.github.com/users/stellanhaglund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellanhaglund/subscriptions","organizations_url":"https://api.github.com/users/stellanhaglund/orgs","repos_url":"https://api.github.com/users/stellanhaglund/repos","events_url":"https://api.github.com/users/stellanhaglund/events{/privacy}","received_events_url":"https://api.github.com/users/stellanhaglund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-21T11:35:45Z","updated_at":"2015-09-21T11:35:45Z","closed_at":null,"body":"by running this\r\n\r\n\r\nI get this\r\n\r\n/home/server/node_modules/gcloud/node_modules/google-auto-auth/index.js:47\r\n    client.authorize(function (err) {\r\n           ^\r\nTypeError: undefined is not a function\r\n    at /home/server/node_modules/gcloud/node_modules/google-auto-auth/index.js:47:12\r\n    at addScope (/home/server/node_modules/gcloud/node_modules/google-auto-auth/index.js:113:5)\r\n    at callback (/home/server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/goo\r\ngle-auth-library/lib/auth/googleauth.js:41:5)\r\n    at /home/server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-l\r\nibrary/lib/auth/googleauth.js:124:9\r\n    at process._tickCallback (node.js:355:11)\r\n\r\n\r\nwhen running this\r\n\r\n\r\napp.get('/file/:fileId', function(req, res){\r\n\r\n    var remoteFile = bucket.file(req.params.fileId);\r\n\r\n    remoteFile.getSignedUrl({\r\n        action: 'read',\r\n        expires: '2025'\r\n    }, function(err, url) {\r\n        if (err) {\r\n            console.log('err');\r\n            return;\r\n        }\r\n\r\n        console.log(url)\r\n\r\n    });\r\n\r\n});\r\n\r\n\r\n\r\n"}}