{"action":"closed","number":1181,"pull_request":{"url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/1181","id":357887436,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU3ODg3NDM2","html_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/1181","diff_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/1181.diff","patch_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/1181.patch","issue_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/1181","number":1181,"state":"closed","locked":false,"title":"Authorization Code Flow for Single Page Applications: Exchange Code for Token","user":{"login":"pkanher617","id":6913227,"node_id":"MDQ6VXNlcjY5MTMyMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6913227?v=4","gravatar_id":"","url":"https://api.github.com/users/pkanher617","html_url":"https://github.com/pkanher617","followers_url":"https://api.github.com/users/pkanher617/followers","following_url":"https://api.github.com/users/pkanher617/following{/other_user}","gists_url":"https://api.github.com/users/pkanher617/gists{/gist_id}","starred_url":"https://api.github.com/users/pkanher617/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkanher617/subscriptions","organizations_url":"https://api.github.com/users/pkanher617/orgs","repos_url":"https://api.github.com/users/pkanher617/repos","events_url":"https://api.github.com/users/pkanher617/events{/privacy}","received_events_url":"https://api.github.com/users/pkanher617/received_events","type":"User","site_admin":false},"body":"This PR adds code to perform the exchange of the authorization code for an access token.\r\n\r\nThis PR does not cover token caching or response validation, which will be part of a separate PR.\r\n\r\n","created_at":"2019-12-29T23:36:41Z","updated_at":"2020-01-08T03:48:03Z","closed_at":"2020-01-08T03:48:03Z","merged_at":"2020-01-08T03:48:03Z","merge_commit_sha":"4de4ae93dcd27c282503d328bfbabcf44d55eb8c","assignee":{"login":"pkanher617","id":6913227,"node_id":"MDQ6VXNlcjY5MTMyMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6913227?v=4","gravatar_id":"","url":"https://api.github.com/users/pkanher617","html_url":"https://github.com/pkanher617","followers_url":"https://api.github.com/users/pkanher617/followers","following_url":"https://api.github.com/users/pkanher617/following{/other_user}","gists_url":"https://api.github.com/users/pkanher617/gists{/gist_id}","starred_url":"https://api.github.com/users/pkanher617/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkanher617/subscriptions","organizations_url":"https://api.github.com/users/pkanher617/orgs","repos_url":"https://api.github.com/users/pkanher617/repos","events_url":"https://api.github.com/users/pkanher617/events{/privacy}","received_events_url":"https://api.github.com/users/pkanher617/received_events","type":"User","site_admin":false},"assignees":[{"login":"pkanher617","id":6913227,"node_id":"MDQ6VXNlcjY5MTMyMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6913227?v=4","gravatar_id":"","url":"https://api.github.com/users/pkanher617","html_url":"https://github.com/pkanher617","followers_url":"https://api.github.com/users/pkanher617/followers","following_url":"https://api.github.com/users/pkanher617/following{/other_user}","gists_url":"https://api.github.com/users/pkanher617/gists{/gist_id}","starred_url":"https://api.github.com/users/pkanher617/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkanher617/subscriptions","organizations_url":"https://api.github.com/users/pkanher617/orgs","repos_url":"https://api.github.com/users/pkanher617/repos","events_url":"https://api.github.com/users/pkanher617/events{/privacy}","received_events_url":"https://api.github.com/users/pkanher617/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/1181/commits","review_comments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/1181/comments","review_comment_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/1181/comments","statuses_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/statuses/ebe3b8ff815cb8ec97ede66d2a13d0b9243a855c","head":{"label":"AzureAD:authorization-code-flow-acquireTokenImpl","ref":"authorization-code-flow-acquireTokenImpl","sha":"ebe3b8ff815cb8ec97ede66d2a13d0b9243a855c","user":{"login":"AzureAD","id":2966316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjYzMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2966316?v=4","gravatar_id":"","url":"https://api.github.com/users/AzureAD","html_url":"https://github.com/AzureAD","followers_url":"https://api.github.com/users/AzureAD/followers","following_url":"https://api.github.com/users/AzureAD/following{/other_user}","gists_url":"https://api.github.com/users/AzureAD/gists{/gist_id}","starred_url":"https://api.github.com/users/AzureAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzureAD/subscriptions","organizations_url":"https://api.github.com/users/AzureAD/orgs","repos_url":"https://api.github.com/users/AzureAD/repos","events_url":"https://api.github.com/users/AzureAD/events{/privacy}","received_events_url":"https://api.github.com/users/AzureAD/received_events","type":"Organization","site_admin":false},"repo":{"id":83085579,"node_id":"MDEwOlJlcG9zaXRvcnk4MzA4NTU3OQ==","name":"microsoft-authentication-library-for-js","full_name":"AzureAD/microsoft-authentication-library-for-js","private":false,"owner":{"login":"AzureAD","id":2966316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjYzMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2966316?v=4","gravatar_id":"","url":"https://api.github.com/users/AzureAD","html_url":"https://github.com/AzureAD","followers_url":"https://api.github.com/users/AzureAD/followers","following_url":"https://api.github.com/users/AzureAD/following{/other_user}","gists_url":"https://api.github.com/users/AzureAD/gists{/gist_id}","starred_url":"https://api.github.com/users/AzureAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzureAD/subscriptions","organizations_url":"https://api.github.com/users/AzureAD/orgs","repos_url":"https://api.github.com/users/AzureAD/repos","events_url":"https://api.github.com/users/AzureAD/events{/privacy}","received_events_url":"https://api.github.com/users/AzureAD/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js","description":"Microsoft Authentication Library (MSAL) for JS","fork":false,"url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js","forks_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/forks","keys_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/teams","hooks_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/hooks","issue_events_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/events{/number}","events_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/events","assignees_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/assignees{/user}","branches_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/branches{/branch}","tags_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/tags","blobs_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/statuses/{sha}","languages_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/languages","stargazers_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/stargazers","contributors_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/contributors","subscribers_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/subscribers","subscription_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/subscription","commits_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/contents/{+path}","compare_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/merges","archive_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/downloads","issues_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues{/number}","pulls_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls{/number}","milestones_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/milestones{/number}","notifications_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/labels{/name}","releases_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/releases{/id}","deployments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/deployments","created_at":"2017-02-24T21:49:17Z","updated_at":"2020-01-06T14:01:51Z","pushed_at":"2020-01-08T03:48:04Z","git_url":"git://github.com/AzureAD/microsoft-authentication-library-for-js.git","ssh_url":"git@github.com:AzureAD/microsoft-authentication-library-for-js.git","clone_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js.git","svn_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js","homepage":"http://aka.ms/aadv2","size":15123,"stargazers_count":709,"watchers_count":709,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":462,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":130,"license":null,"forks":462,"open_issues":130,"watchers":709,"default_branch":"dev"}},"base":{"label":"AzureAD:authorization-code-flow-base","ref":"authorization-code-flow-base","sha":"4d54b9e920cc8f09209f9889eb7616f9e8f24956","user":{"login":"AzureAD","id":2966316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjYzMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2966316?v=4","gravatar_id":"","url":"https://api.github.com/users/AzureAD","html_url":"https://github.com/AzureAD","followers_url":"https://api.github.com/users/AzureAD/followers","following_url":"https://api.github.com/users/AzureAD/following{/other_user}","gists_url":"https://api.github.com/users/AzureAD/gists{/gist_id}","starred_url":"https://api.github.com/users/AzureAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzureAD/subscriptions","organizations_url":"https://api.github.com/users/AzureAD/orgs","repos_url":"https://api.github.com/users/AzureAD/repos","events_url":"https://api.github.com/users/AzureAD/events{/privacy}","received_events_url":"https://api.github.com/users/AzureAD/received_events","type":"Organization","site_admin":false},"repo":{"id":83085579,"node_id":"MDEwOlJlcG9zaXRvcnk4MzA4NTU3OQ==","name":"microsoft-authentication-library-for-js","full_name":"AzureAD/microsoft-authentication-library-for-js","private":false,"owner":{"login":"AzureAD","id":2966316,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjYzMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2966316?v=4","gravatar_id":"","url":"https://api.github.com/users/AzureAD","html_url":"https://github.com/AzureAD","followers_url":"https://api.github.com/users/AzureAD/followers","following_url":"https://api.github.com/users/AzureAD/following{/other_user}","gists_url":"https://api.github.com/users/AzureAD/gists{/gist_id}","starred_url":"https://api.github.com/users/AzureAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzureAD/subscriptions","organizations_url":"https://api.github.com/users/AzureAD/orgs","repos_url":"https://api.github.com/users/AzureAD/repos","events_url":"https://api.github.com/users/AzureAD/events{/privacy}","received_events_url":"https://api.github.com/users/AzureAD/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js","description":"Microsoft Authentication Library (MSAL) for JS","fork":false,"url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js","forks_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/forks","keys_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/teams","hooks_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/hooks","issue_events_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/events{/number}","events_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/events","assignees_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/assignees{/user}","branches_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/branches{/branch}","tags_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/tags","blobs_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/statuses/{sha}","languages_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/languages","stargazers_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/stargazers","contributors_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/contributors","subscribers_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/subscribers","subscription_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/subscription","commits_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/contents/{+path}","compare_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/merges","archive_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/downloads","issues_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues{/number}","pulls_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls{/number}","milestones_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/milestones{/number}","notifications_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/labels{/name}","releases_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/releases{/id}","deployments_url":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/deployments","created_at":"2017-02-24T21:49:17Z","updated_at":"2020-01-06T14:01:51Z","pushed_at":"2020-01-08T03:48:04Z","git_url":"git://github.com/AzureAD/microsoft-authentication-library-for-js.git","ssh_url":"git@github.com:AzureAD/microsoft-authentication-library-for-js.git","clone_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js.git","svn_url":"https://github.com/AzureAD/microsoft-authentication-library-for-js","homepage":"http://aka.ms/aadv2","size":15123,"stargazers_count":709,"watchers_count":709,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":462,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":130,"license":null,"forks":462,"open_issues":130,"watchers":709,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/1181"},"html":{"href":"https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/1181"},"issue":{"href":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/1181"},"comments":{"href":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/issues/1181/comments"},"review_comments":{"href":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/1181/comments"},"review_comment":{"href":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/pulls/1181/commits"},"statuses":{"href":"https://api.github.com/repos/AzureAD/microsoft-authentication-library-for-js/statuses/ebe3b8ff815cb8ec97ede66d2a13d0b9243a855c"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"pkanher617","id":6913227,"node_id":"MDQ6VXNlcjY5MTMyMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/6913227?v=4","gravatar_id":"","url":"https://api.github.com/users/pkanher617","html_url":"https://github.com/pkanher617","followers_url":"https://api.github.com/users/pkanher617/followers","following_url":"https://api.github.com/users/pkanher617/following{/other_user}","gists_url":"https://api.github.com/users/pkanher617/gists{/gist_id}","starred_url":"https://api.github.com/users/pkanher617/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkanher617/subscriptions","organizations_url":"https://api.github.com/users/pkanher617/orgs","repos_url":"https://api.github.com/users/pkanher617/repos","events_url":"https://api.github.com/users/pkanher617/events{/privacy}","received_events_url":"https://api.github.com/users/pkanher617/received_events","type":"User","site_admin":false},"comments":0,"review_comments":41,"maintainer_can_modify":false,"commits":14,"additions":266,"deletions":106,"changed_files":15}}
{"actor":{"display_login":"pkanher617"}}