{"action":"opened","issue":{"url":"https://api.github.com/repos/google/google-api-nodejs-client/issues/504","labels_url":"https://api.github.com/repos/google/google-api-nodejs-client/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-nodejs-client/issues/504/comments","events_url":"https://api.github.com/repos/google/google-api-nodejs-client/issues/504/events","html_url":"https://github.com/google/google-api-nodejs-client/issues/504","id":127492739,"number":504,"title":"Reduce/Eliminate manual steps in OAuth flow","user":{"login":"vsubramani","id":10506357,"avatar_url":"https://avatars.githubusercontent.com/u/10506357?v=3","gravatar_id":"","url":"https://api.github.com/users/vsubramani","html_url":"https://github.com/vsubramani","followers_url":"https://api.github.com/users/vsubramani/followers","following_url":"https://api.github.com/users/vsubramani/following{/other_user}","gists_url":"https://api.github.com/users/vsubramani/gists{/gist_id}","starred_url":"https://api.github.com/users/vsubramani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsubramani/subscriptions","organizations_url":"https://api.github.com/users/vsubramani/orgs","repos_url":"https://api.github.com/users/vsubramani/repos","events_url":"https://api.github.com/users/vsubramani/events{/privacy}","received_events_url":"https://api.github.com/users/vsubramani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-19T17:04:55Z","updated_at":"2016-01-19T17:04:55Z","closed_at":null,"body":"When using the node.js libraries for obtaining OAuth credentials to use with APIs hosted on GCP, these manual steps are involved:\r\n1. Copy Auth url to browser\r\n2. Accept on the consent screen\r\n3. Copy the auth code into the go application\r\n\r\nSee example https://developers.google.com/google-apps/calendar/quickstart/nodejs\r\n\r\nGoogle API client libraries for other languages host an http listener thereby avoiding the need for manual steps 1 and 3. Please consider doing similar for the node.js client libraries."}}