{"action":"closed","number":123,"pull_request":{"url":"https://api.github.com/repos/auth0/node-auth0/pulls/123","id":80808686,"html_url":"https://github.com/auth0/node-auth0/pull/123","diff_url":"https://github.com/auth0/node-auth0/pull/123.diff","patch_url":"https://github.com/auth0/node-auth0/pull/123.patch","issue_url":"https://api.github.com/repos/auth0/node-auth0/issues/123","number":123,"state":"closed","locked":false,"title":"Add support for returning entire response from Utils.getRequestPromise","user":{"login":"ChrisCoffey","id":5373301,"avatar_url":"https://avatars1.githubusercontent.com/u/5373301?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisCoffey","html_url":"https://github.com/ChrisCoffey","followers_url":"https://api.github.com/users/ChrisCoffey/followers","following_url":"https://api.github.com/users/ChrisCoffey/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCoffey/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCoffey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCoffey/subscriptions","organizations_url":"https://api.github.com/users/ChrisCoffey/orgs","repos_url":"https://api.github.com/users/ChrisCoffey/repos","events_url":"https://api.github.com/users/ChrisCoffey/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCoffey/received_events","type":"User","site_admin":false},"body":"Some Auth0 endpoints do not return their content in the response body, so it's important to return the entire response (lazy approach) or the specific field required for various calls. In this case, I care about the `text` property from w/in the impersonation function. This PR allows my callback to access the response & handle the rest of the flow properly.\n","created_at":"2016-08-10T14:53:57Z","updated_at":"2018-03-21T02:00:12Z","closed_at":"2018-03-21T02:00:12Z","merged_at":null,"merge_commit_sha":"fc31a224c3ed8adb9d65c50d3436d07647f36cba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/auth0/node-auth0/pulls/123/commits","review_comments_url":"https://api.github.com/repos/auth0/node-auth0/pulls/123/comments","review_comment_url":"https://api.github.com/repos/auth0/node-auth0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/node-auth0/issues/123/comments","statuses_url":"https://api.github.com/repos/auth0/node-auth0/statuses/b5378c5c335198fd92b4b68fef96b34c5c6aa93a","head":{"label":"ChrisCoffey:master","ref":"master","sha":"b5378c5c335198fd92b4b68fef96b34c5c6aa93a","user":{"login":"ChrisCoffey","id":5373301,"avatar_url":"https://avatars1.githubusercontent.com/u/5373301?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisCoffey","html_url":"https://github.com/ChrisCoffey","followers_url":"https://api.github.com/users/ChrisCoffey/followers","following_url":"https://api.github.com/users/ChrisCoffey/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCoffey/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCoffey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCoffey/subscriptions","organizations_url":"https://api.github.com/users/ChrisCoffey/orgs","repos_url":"https://api.github.com/users/ChrisCoffey/repos","events_url":"https://api.github.com/users/ChrisCoffey/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCoffey/received_events","type":"User","site_admin":false},"repo":{"id":65390752,"name":"node-auth0","full_name":"ChrisCoffey/node-auth0","owner":{"login":"ChrisCoffey","id":5373301,"avatar_url":"https://avatars1.githubusercontent.com/u/5373301?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisCoffey","html_url":"https://github.com/ChrisCoffey","followers_url":"https://api.github.com/users/ChrisCoffey/followers","following_url":"https://api.github.com/users/ChrisCoffey/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCoffey/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCoffey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCoffey/subscriptions","organizations_url":"https://api.github.com/users/ChrisCoffey/orgs","repos_url":"https://api.github.com/users/ChrisCoffey/repos","events_url":"https://api.github.com/users/ChrisCoffey/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCoffey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisCoffey/node-auth0","description":"Node.js client library for the Auth0 platform.","fork":true,"url":"https://api.github.com/repos/ChrisCoffey/node-auth0","forks_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/forks","keys_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/teams","hooks_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/hooks","issue_events_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/events","assignees_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/tags","blobs_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/languages","stargazers_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/stargazers","contributors_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/contributors","subscribers_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/subscribers","subscription_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/subscription","commits_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/merges","archive_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/downloads","issues_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/labels{/name}","releases_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/releases{/id}","deployments_url":"https://api.github.com/repos/ChrisCoffey/node-auth0/deployments","created_at":"2016-08-10T14:47:26Z","updated_at":"2016-08-10T14:47:27Z","pushed_at":"2016-08-10T14:50:42Z","git_url":"git://github.com/ChrisCoffey/node-auth0.git","ssh_url":"git@github.com:ChrisCoffey/node-auth0.git","clone_url":"https://github.com/ChrisCoffey/node-auth0.git","svn_url":"https://github.com/ChrisCoffey/node-auth0","homepage":"","size":448,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"auth0:master","ref":"master","sha":"87cee0fea5c101238879f28f3be45692e4d7a962","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":6989650,"name":"node-auth0","full_name":"auth0/node-auth0","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/node-auth0","description":"Node.js client library for the Auth0 platform.","fork":false,"url":"https://api.github.com/repos/auth0/node-auth0","forks_url":"https://api.github.com/repos/auth0/node-auth0/forks","keys_url":"https://api.github.com/repos/auth0/node-auth0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/node-auth0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/node-auth0/teams","hooks_url":"https://api.github.com/repos/auth0/node-auth0/hooks","issue_events_url":"https://api.github.com/repos/auth0/node-auth0/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/node-auth0/events","assignees_url":"https://api.github.com/repos/auth0/node-auth0/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/node-auth0/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/node-auth0/tags","blobs_url":"https://api.github.com/repos/auth0/node-auth0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/node-auth0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/node-auth0/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/node-auth0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/node-auth0/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/node-auth0/languages","stargazers_url":"https://api.github.com/repos/auth0/node-auth0/stargazers","contributors_url":"https://api.github.com/repos/auth0/node-auth0/contributors","subscribers_url":"https://api.github.com/repos/auth0/node-auth0/subscribers","subscription_url":"https://api.github.com/repos/auth0/node-auth0/subscription","commits_url":"https://api.github.com/repos/auth0/node-auth0/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/node-auth0/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/node-auth0/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/node-auth0/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/node-auth0/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/node-auth0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/node-auth0/merges","archive_url":"https://api.github.com/repos/auth0/node-auth0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/node-auth0/downloads","issues_url":"https://api.github.com/repos/auth0/node-auth0/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/node-auth0/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/node-auth0/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/node-auth0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/node-auth0/labels{/name}","releases_url":"https://api.github.com/repos/auth0/node-auth0/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/node-auth0/deployments","created_at":"2012-12-03T21:19:57Z","updated_at":"2018-03-19T19:34:40Z","pushed_at":"2018-03-15T20:55:57Z","git_url":"git://github.com/auth0/node-auth0.git","ssh_url":"git@github.com:auth0/node-auth0.git","clone_url":"https://github.com/auth0/node-auth0.git","svn_url":"https://github.com/auth0/node-auth0","homepage":"","size":1663,"stargazers_count":225,"watchers_count":225,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":144,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":144,"open_issues":79,"watchers":225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/node-auth0/pulls/123"},"html":{"href":"https://github.com/auth0/node-auth0/pull/123"},"issue":{"href":"https://api.github.com/repos/auth0/node-auth0/issues/123"},"comments":{"href":"https://api.github.com/repos/auth0/node-auth0/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/node-auth0/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/node-auth0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/node-auth0/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/node-auth0/statuses/b5378c5c335198fd92b4b68fef96b34c5c6aa93a"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"ChrisCoffey"}}