{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/talis/persona-node-client/pulls/20","id":77128900,"html_url":"https://github.com/talis/persona-node-client/pull/20","diff_url":"https://github.com/talis/persona-node-client/pull/20.diff","patch_url":"https://github.com/talis/persona-node-client/pull/20.patch","issue_url":"https://api.github.com/repos/talis/persona-node-client/issues/20","number":20,"state":"closed","locked":false,"title":"90%: Return decoded token upon successful validation","user":{"login":"pads","id":557957,"avatar_url":"https://avatars.githubusercontent.com/u/557957?v=3","gravatar_id":"","url":"https://api.github.com/users/pads","html_url":"https://github.com/pads","followers_url":"https://api.github.com/users/pads/followers","following_url":"https://api.github.com/users/pads/following{/other_user}","gists_url":"https://api.github.com/users/pads/gists{/gist_id}","starred_url":"https://api.github.com/users/pads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pads/subscriptions","organizations_url":"https://api.github.com/users/pads/orgs","repos_url":"https://api.github.com/users/pads/repos","events_url":"https://api.github.com/users/pads/events{/privacy}","received_events_url":"https://api.github.com/users/pads/received_events","type":"User","site_admin":false},"body":"This change returns a decoded JWT upon successful validation instead of the string \"ok\".\r\n\r\nThis is so that metadata can be extracted and used by other services. For example, when securing an AWS API gateway route, Amazon needs to know who the token belongs to in order to create an authentication policy for the request.","created_at":"2016-07-12T14:23:28Z","updated_at":"2016-07-13T11:53:54Z","closed_at":"2016-07-13T11:53:53Z","merged_at":"2016-07-13T11:53:53Z","merge_commit_sha":"80530d6ccac77c62aceeb2c7b34a787a801e68fa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/talis/persona-node-client/pulls/20/commits","review_comments_url":"https://api.github.com/repos/talis/persona-node-client/pulls/20/comments","review_comment_url":"https://api.github.com/repos/talis/persona-node-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/talis/persona-node-client/issues/20/comments","statuses_url":"https://api.github.com/repos/talis/persona-node-client/statuses/3ff51d9227513dbe7294c06547e27c35de944ed2","head":{"label":"talis:decoded-token","ref":"decoded-token","sha":"3ff51d9227513dbe7294c06547e27c35de944ed2","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":14619372,"name":"persona-node-client","full_name":"talis/persona-node-client","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/persona-node-client","description":"This is a node client library for Persona supporting generation, validation and caching of Oauth Tokens","fork":false,"url":"https://api.github.com/repos/talis/persona-node-client","forks_url":"https://api.github.com/repos/talis/persona-node-client/forks","keys_url":"https://api.github.com/repos/talis/persona-node-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/persona-node-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/persona-node-client/teams","hooks_url":"https://api.github.com/repos/talis/persona-node-client/hooks","issue_events_url":"https://api.github.com/repos/talis/persona-node-client/issues/events{/number}","events_url":"https://api.github.com/repos/talis/persona-node-client/events","assignees_url":"https://api.github.com/repos/talis/persona-node-client/assignees{/user}","branches_url":"https://api.github.com/repos/talis/persona-node-client/branches{/branch}","tags_url":"https://api.github.com/repos/talis/persona-node-client/tags","blobs_url":"https://api.github.com/repos/talis/persona-node-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/persona-node-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/persona-node-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/persona-node-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/persona-node-client/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/persona-node-client/languages","stargazers_url":"https://api.github.com/repos/talis/persona-node-client/stargazers","contributors_url":"https://api.github.com/repos/talis/persona-node-client/contributors","subscribers_url":"https://api.github.com/repos/talis/persona-node-client/subscribers","subscription_url":"https://api.github.com/repos/talis/persona-node-client/subscription","commits_url":"https://api.github.com/repos/talis/persona-node-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/persona-node-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/persona-node-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/persona-node-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/persona-node-client/contents/{+path}","compare_url":"https://api.github.com/repos/talis/persona-node-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/persona-node-client/merges","archive_url":"https://api.github.com/repos/talis/persona-node-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/persona-node-client/downloads","issues_url":"https://api.github.com/repos/talis/persona-node-client/issues{/number}","pulls_url":"https://api.github.com/repos/talis/persona-node-client/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/persona-node-client/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/persona-node-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/persona-node-client/labels{/name}","releases_url":"https://api.github.com/repos/talis/persona-node-client/releases{/id}","deployments_url":"https://api.github.com/repos/talis/persona-node-client/deployments","created_at":"2013-11-22T14:11:31Z","updated_at":"2016-02-02T13:59:33Z","pushed_at":"2016-07-13T11:53:54Z","git_url":"git://github.com/talis/persona-node-client.git","ssh_url":"git@github.com:talis/persona-node-client.git","clone_url":"https://github.com/talis/persona-node-client.git","svn_url":"https://github.com/talis/persona-node-client","homepage":null,"size":203,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"talis:master","ref":"master","sha":"5f48d39905732dd9526e89566aeec5d67fa7b211","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":14619372,"name":"persona-node-client","full_name":"talis/persona-node-client","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/persona-node-client","description":"This is a node client library for Persona supporting generation, validation and caching of Oauth Tokens","fork":false,"url":"https://api.github.com/repos/talis/persona-node-client","forks_url":"https://api.github.com/repos/talis/persona-node-client/forks","keys_url":"https://api.github.com/repos/talis/persona-node-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/persona-node-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/persona-node-client/teams","hooks_url":"https://api.github.com/repos/talis/persona-node-client/hooks","issue_events_url":"https://api.github.com/repos/talis/persona-node-client/issues/events{/number}","events_url":"https://api.github.com/repos/talis/persona-node-client/events","assignees_url":"https://api.github.com/repos/talis/persona-node-client/assignees{/user}","branches_url":"https://api.github.com/repos/talis/persona-node-client/branches{/branch}","tags_url":"https://api.github.com/repos/talis/persona-node-client/tags","blobs_url":"https://api.github.com/repos/talis/persona-node-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/persona-node-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/persona-node-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/persona-node-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/persona-node-client/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/persona-node-client/languages","stargazers_url":"https://api.github.com/repos/talis/persona-node-client/stargazers","contributors_url":"https://api.github.com/repos/talis/persona-node-client/contributors","subscribers_url":"https://api.github.com/repos/talis/persona-node-client/subscribers","subscription_url":"https://api.github.com/repos/talis/persona-node-client/subscription","commits_url":"https://api.github.com/repos/talis/persona-node-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/persona-node-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/persona-node-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/persona-node-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/persona-node-client/contents/{+path}","compare_url":"https://api.github.com/repos/talis/persona-node-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/persona-node-client/merges","archive_url":"https://api.github.com/repos/talis/persona-node-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/persona-node-client/downloads","issues_url":"https://api.github.com/repos/talis/persona-node-client/issues{/number}","pulls_url":"https://api.github.com/repos/talis/persona-node-client/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/persona-node-client/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/persona-node-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/persona-node-client/labels{/name}","releases_url":"https://api.github.com/repos/talis/persona-node-client/releases{/id}","deployments_url":"https://api.github.com/repos/talis/persona-node-client/deployments","created_at":"2013-11-22T14:11:31Z","updated_at":"2016-02-02T13:59:33Z","pushed_at":"2016-07-13T11:53:54Z","git_url":"git://github.com/talis/persona-node-client.git","ssh_url":"git@github.com:talis/persona-node-client.git","clone_url":"https://github.com/talis/persona-node-client.git","svn_url":"https://github.com/talis/persona-node-client","homepage":null,"size":203,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/talis/persona-node-client/pulls/20"},"html":{"href":"https://github.com/talis/persona-node-client/pull/20"},"issue":{"href":"https://api.github.com/repos/talis/persona-node-client/issues/20"},"comments":{"href":"https://api.github.com/repos/talis/persona-node-client/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/talis/persona-node-client/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/talis/persona-node-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/talis/persona-node-client/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/talis/persona-node-client/statuses/3ff51d9227513dbe7294c06547e27c35de944ed2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pads","id":557957,"avatar_url":"https://avatars.githubusercontent.com/u/557957?v=3","gravatar_id":"","url":"https://api.github.com/users/pads","html_url":"https://github.com/pads","followers_url":"https://api.github.com/users/pads/followers","following_url":"https://api.github.com/users/pads/following{/other_user}","gists_url":"https://api.github.com/users/pads/gists{/gist_id}","starred_url":"https://api.github.com/users/pads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pads/subscriptions","organizations_url":"https://api.github.com/users/pads/orgs","repos_url":"https://api.github.com/users/pads/repos","events_url":"https://api.github.com/users/pads/events{/privacy}","received_events_url":"https://api.github.com/users/pads/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":46,"deletions":15,"changed_files":3}}
{"actor":{"display_login":"pads"}}