{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/24","id":70923244,"html_url":"https://github.com/3scale/nginx-oauth-templates/pull/24","diff_url":"https://github.com/3scale/nginx-oauth-templates/pull/24.diff","patch_url":"https://github.com/3scale/nginx-oauth-templates/pull/24.patch","issue_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/issues/24","number":24,"state":"open","locked":false,"title":"Don't rewrite upstream token responses","user":{"login":"derelk","id":1585343,"avatar_url":"https://avatars.githubusercontent.com/u/1585343?v=3","gravatar_id":"","url":"https://api.github.com/users/derelk","html_url":"https://github.com/derelk","followers_url":"https://api.github.com/users/derelk/followers","following_url":"https://api.github.com/users/derelk/following{/other_user}","gists_url":"https://api.github.com/users/derelk/gists{/gist_id}","starred_url":"https://api.github.com/users/derelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derelk/subscriptions","organizations_url":"https://api.github.com/users/derelk/orgs","repos_url":"https://api.github.com/users/derelk/repos","events_url":"https://api.github.com/users/derelk/events{/privacy}","received_events_url":"https://api.github.com/users/derelk/received_events","type":"User","site_admin":false},"body":"Manually reconstructing a token response is unnecessary and causes\r\ncomplications. Most OAuth 2 services return additional fields such as\r\n`expires_in` and `refresh_token`. Rather than require editing this file\r\nto support additional fields, it makes more sense to just return the\r\nupstream response after parsing out the token.","created_at":"2016-05-20T22:02:04Z","updated_at":"2016-05-20T22:02:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/24/commits","review_comments_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/24/comments","review_comment_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/issues/24/comments","statuses_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/statuses/80b2c6dc4095de9741abab6654b2ade19ff28128","head":{"label":"derelk:pass-token-response-through","ref":"pass-token-response-through","sha":"80b2c6dc4095de9741abab6654b2ade19ff28128","user":{"login":"derelk","id":1585343,"avatar_url":"https://avatars.githubusercontent.com/u/1585343?v=3","gravatar_id":"","url":"https://api.github.com/users/derelk","html_url":"https://github.com/derelk","followers_url":"https://api.github.com/users/derelk/followers","following_url":"https://api.github.com/users/derelk/following{/other_user}","gists_url":"https://api.github.com/users/derelk/gists{/gist_id}","starred_url":"https://api.github.com/users/derelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derelk/subscriptions","organizations_url":"https://api.github.com/users/derelk/orgs","repos_url":"https://api.github.com/users/derelk/repos","events_url":"https://api.github.com/users/derelk/events{/privacy}","received_events_url":"https://api.github.com/users/derelk/received_events","type":"User","site_admin":false},"repo":{"id":59326827,"name":"nginx-oauth-templates","full_name":"derelk/nginx-oauth-templates","owner":{"login":"derelk","id":1585343,"avatar_url":"https://avatars.githubusercontent.com/u/1585343?v=3","gravatar_id":"","url":"https://api.github.com/users/derelk","html_url":"https://github.com/derelk","followers_url":"https://api.github.com/users/derelk/followers","following_url":"https://api.github.com/users/derelk/following{/other_user}","gists_url":"https://api.github.com/users/derelk/gists{/gist_id}","starred_url":"https://api.github.com/users/derelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derelk/subscriptions","organizations_url":"https://api.github.com/users/derelk/orgs","repos_url":"https://api.github.com/users/derelk/repos","events_url":"https://api.github.com/users/derelk/events{/privacy}","received_events_url":"https://api.github.com/users/derelk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derelk/nginx-oauth-templates","description":"Nginx Sample Configs for OAuth Flows","fork":true,"url":"https://api.github.com/repos/derelk/nginx-oauth-templates","forks_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/forks","keys_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/teams","hooks_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/hooks","issue_events_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/issues/events{/number}","events_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/events","assignees_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/assignees{/user}","branches_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/branches{/branch}","tags_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/tags","blobs_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/languages","stargazers_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/stargazers","contributors_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/contributors","subscribers_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/subscribers","subscription_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/subscription","commits_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/contents/{+path}","compare_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/merges","archive_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/downloads","issues_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/issues{/number}","pulls_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/labels{/name}","releases_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/releases{/id}","deployments_url":"https://api.github.com/repos/derelk/nginx-oauth-templates/deployments","created_at":"2016-05-20T21:13:39Z","updated_at":"2016-05-20T21:13:39Z","pushed_at":"2016-05-20T22:01:17Z","git_url":"git://github.com/derelk/nginx-oauth-templates.git","ssh_url":"git@github.com:derelk/nginx-oauth-templates.git","clone_url":"https://github.com/derelk/nginx-oauth-templates.git","svn_url":"https://github.com/derelk/nginx-oauth-templates","homepage":null,"size":174,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"3scale:master","ref":"master","sha":"d906a9ba93e9efadefac95fa556710dde8a939a3","user":{"login":"3scale","id":21415,"avatar_url":"https://avatars.githubusercontent.com/u/21415?v=3","gravatar_id":"","url":"https://api.github.com/users/3scale","html_url":"https://github.com/3scale","followers_url":"https://api.github.com/users/3scale/followers","following_url":"https://api.github.com/users/3scale/following{/other_user}","gists_url":"https://api.github.com/users/3scale/gists{/gist_id}","starred_url":"https://api.github.com/users/3scale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3scale/subscriptions","organizations_url":"https://api.github.com/users/3scale/orgs","repos_url":"https://api.github.com/users/3scale/repos","events_url":"https://api.github.com/users/3scale/events{/privacy}","received_events_url":"https://api.github.com/users/3scale/received_events","type":"Organization","site_admin":false},"repo":{"id":18555501,"name":"nginx-oauth-templates","full_name":"3scale/nginx-oauth-templates","owner":{"login":"3scale","id":21415,"avatar_url":"https://avatars.githubusercontent.com/u/21415?v=3","gravatar_id":"","url":"https://api.github.com/users/3scale","html_url":"https://github.com/3scale","followers_url":"https://api.github.com/users/3scale/followers","following_url":"https://api.github.com/users/3scale/following{/other_user}","gists_url":"https://api.github.com/users/3scale/gists{/gist_id}","starred_url":"https://api.github.com/users/3scale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3scale/subscriptions","organizations_url":"https://api.github.com/users/3scale/orgs","repos_url":"https://api.github.com/users/3scale/repos","events_url":"https://api.github.com/users/3scale/events{/privacy}","received_events_url":"https://api.github.com/users/3scale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/3scale/nginx-oauth-templates","description":"Nginx Sample Configs for OAuth Flows","fork":false,"url":"https://api.github.com/repos/3scale/nginx-oauth-templates","forks_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/forks","keys_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/teams","hooks_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/hooks","issue_events_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/issues/events{/number}","events_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/events","assignees_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/assignees{/user}","branches_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/branches{/branch}","tags_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/tags","blobs_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/languages","stargazers_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/stargazers","contributors_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/contributors","subscribers_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/subscribers","subscription_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/subscription","commits_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/contents/{+path}","compare_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/merges","archive_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/downloads","issues_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/issues{/number}","pulls_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/labels{/name}","releases_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/releases{/id}","deployments_url":"https://api.github.com/repos/3scale/nginx-oauth-templates/deployments","created_at":"2014-04-08T11:19:48Z","updated_at":"2016-05-18T20:02:45Z","pushed_at":"2016-05-20T22:02:04Z","git_url":"git://github.com/3scale/nginx-oauth-templates.git","ssh_url":"git@github.com:3scale/nginx-oauth-templates.git","clone_url":"https://github.com/3scale/nginx-oauth-templates.git","svn_url":"https://github.com/3scale/nginx-oauth-templates","homepage":null,"size":173,"stargazers_count":40,"watchers_count":40,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":7,"forks":13,"open_issues":7,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/24"},"html":{"href":"https://github.com/3scale/nginx-oauth-templates/pull/24"},"issue":{"href":"https://api.github.com/repos/3scale/nginx-oauth-templates/issues/24"},"comments":{"href":"https://api.github.com/repos/3scale/nginx-oauth-templates/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/3scale/nginx-oauth-templates/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/3scale/nginx-oauth-templates/statuses/80b2c6dc4095de9741abab6654b2ade19ff28128"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":17,"changed_files":1}}
{"actor":{"display_login":"derelk"}}