{"action":"created","comment":{"url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/comments/229060535","pull_request_review_id":169470082,"id":229060535,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTA2MDUzNQ==","diff_hunk":"@@ -259,7 +260,54 @@ matches the value supplied at registration time for the specified `client_id`).\n </ol>\n  \n \n-If an error is encountered during the authorization process, servers SHALL respond with errors as defined by the [OAuth 2 specification](https://tools.ietf.org/html/rfc6749#section-5.2). Servers SHOULD also include an error_uri and error_description as defined by OAuth 2.\n+If an error is encountered during the authentication process, the server SHALL \n+respond with an `invalid_client` error as defined by \n+the [OAuth 2.0 specification](https://tools.ietf.org/html/rfc6749#section-5.2). \n+\n+### Issuing Access Tokens\n+\n+Once the backend service has been authenticated, the authorization server SHALL\n+mediate the request to assure that the scope requested is within the scope pre-authorized\n+to the backend service.\n+\n+If the access token request is valid and authorized, the authorization server\n+SHALL issue an access token in response.  The access token SHALL be a JSON object with \n+the following properties: \n+\n+<table class=\"table\">\n+  <thead>\n+    <th colspan=\"3\">Access token response: property names</th>\n+  </thead>\n+  <tbody>\n+    <tr>\n+      <td><code>access_token</code></td>\n+      <td><span class=\"label label-success\">required</span></td>\n+      <td>The access token issued by the authorization server.</td>\n+    </tr>\n+    <tr>\n+      <td><code>token_type</code></td>\n+      <td><span class=\"label label-success\">required</span></td>\n+      <td>Fixed value: <code>bearer</code>.</td>\n+    </tr>\n+    <tr>\n+      <td><code>expires_in</code></td>\n+      <td><span class=\"label label-success\">required</span></td>\n+      <td>The lifetime in seconds of the access token. The recommended value is <code>300</code>, for a five-minute token lifetime.</td>\n+    </tr>\n+    <tr>\n+      <td><code>scope</code></td>\n+      <td><span class=\"label label-success\">required</span></td>\n+      <td>Scope of access authorized. Note that this can be different from the scopes requested by the app.</td>\n+    </tr>\n+  </tbody>\n+</table>","path":"authorization.md","position":83,"original_position":83,"commit_id":"6c04d630f00185d24b9c816b571658dc1a33c3fa","original_commit_id":"6c04d630f00185d24b9c816b571658dc1a33c3fa","user":{"login":"jmandel","id":313089,"node_id":"MDQ6VXNlcjMxMzA4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/313089?v=4","gravatar_id":"","url":"https://api.github.com/users/jmandel","html_url":"https://github.com/jmandel","followers_url":"https://api.github.com/users/jmandel/followers","following_url":"https://api.github.com/users/jmandel/following{/other_user}","gists_url":"https://api.github.com/users/jmandel/gists{/gist_id}","starred_url":"https://api.github.com/users/jmandel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmandel/subscriptions","organizations_url":"https://api.github.com/users/jmandel/orgs","repos_url":"https://api.github.com/users/jmandel/repos","events_url":"https://api.github.com/users/jmandel/events{/privacy}","received_events_url":"https://api.github.com/users/jmandel/received_events","type":"User","site_admin":false},"body":"This is true, but there are formatting limitations (e.g., newlines, code blocks), and we've historically had better luck with HTML here. Could be time to re-visit, but let's address that question out of band.","created_at":"2018-10-29T19:07:58Z","updated_at":"2018-10-29T19:07:58Z","html_url":"https://github.com/smart-on-fhir/fhir-bulk-data-docs/pull/92#discussion_r229060535","pull_request_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/comments/229060535"},"html":{"href":"https://github.com/smart-on-fhir/fhir-bulk-data-docs/pull/92#discussion_r229060535"},"pull_request":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92"}},"in_reply_to_id":229056066},"pull_request":{"url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92","id":226185699,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MTg1Njk5","html_url":"https://github.com/smart-on-fhir/fhir-bulk-data-docs/pull/92","diff_url":"https://github.com/smart-on-fhir/fhir-bulk-data-docs/pull/92.diff","patch_url":"https://github.com/smart-on-fhir/fhir-bulk-data-docs/pull/92.patch","issue_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/issues/92","number":92,"state":"open","locked":false,"title":"Authorization Server Obligations","user":{"login":"bakerdb","id":10760477,"node_id":"MDQ6VXNlcjEwNzYwNDc3","avatar_url":"https://avatars3.githubusercontent.com/u/10760477?v=4","gravatar_id":"","url":"https://api.github.com/users/bakerdb","html_url":"https://github.com/bakerdb","followers_url":"https://api.github.com/users/bakerdb/followers","following_url":"https://api.github.com/users/bakerdb/following{/other_user}","gists_url":"https://api.github.com/users/bakerdb/gists{/gist_id}","starred_url":"https://api.github.com/users/bakerdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakerdb/subscriptions","organizations_url":"https://api.github.com/users/bakerdb/orgs","repos_url":"https://api.github.com/users/bakerdb/repos","events_url":"https://api.github.com/users/bakerdb/events{/privacy}","received_events_url":"https://api.github.com/users/bakerdb/received_events","type":"User","site_admin":false},"body":"Changed section title and incorporated two sub-sections:  Signature Verification and Issuing Access Tokens.  Note that the table in the Issuing Access Tokens section was moved down from the original \"Obtaining an Access Token\" section.  Pull Request #90 (Obtaining an Access Token) deleted this table, so to avoid confusion, I did not delete it again here.","created_at":"2018-10-26T18:22:40Z","updated_at":"2018-10-29T19:07:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7c3b550b56d91e46b6f602132cefd8a47e88765","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1108883400,"node_id":"MDU6TGFiZWwxMTA4ODgzNDAw","url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/labels/Security%20Review","name":"Security Review","color":"d60e5e","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92/commits","review_comments_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92/comments","review_comment_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/issues/92/comments","statuses_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/statuses/6c04d630f00185d24b9c816b571658dc1a33c3fa","head":{"label":"bakerdb:patch-6","ref":"patch-6","sha":"6c04d630f00185d24b9c816b571658dc1a33c3fa","user":{"login":"bakerdb","id":10760477,"node_id":"MDQ6VXNlcjEwNzYwNDc3","avatar_url":"https://avatars3.githubusercontent.com/u/10760477?v=4","gravatar_id":"","url":"https://api.github.com/users/bakerdb","html_url":"https://github.com/bakerdb","followers_url":"https://api.github.com/users/bakerdb/followers","following_url":"https://api.github.com/users/bakerdb/following{/other_user}","gists_url":"https://api.github.com/users/bakerdb/gists{/gist_id}","starred_url":"https://api.github.com/users/bakerdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakerdb/subscriptions","organizations_url":"https://api.github.com/users/bakerdb/orgs","repos_url":"https://api.github.com/users/bakerdb/repos","events_url":"https://api.github.com/users/bakerdb/events{/privacy}","received_events_url":"https://api.github.com/users/bakerdb/received_events","type":"User","site_admin":false},"repo":{"id":154569847,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ1Njk4NDc=","name":"fhir-bulk-data-docs","full_name":"bakerdb/fhir-bulk-data-docs","private":false,"owner":{"login":"bakerdb","id":10760477,"node_id":"MDQ6VXNlcjEwNzYwNDc3","avatar_url":"https://avatars3.githubusercontent.com/u/10760477?v=4","gravatar_id":"","url":"https://api.github.com/users/bakerdb","html_url":"https://github.com/bakerdb","followers_url":"https://api.github.com/users/bakerdb/followers","following_url":"https://api.github.com/users/bakerdb/following{/other_user}","gists_url":"https://api.github.com/users/bakerdb/gists{/gist_id}","starred_url":"https://api.github.com/users/bakerdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakerdb/subscriptions","organizations_url":"https://api.github.com/users/bakerdb/orgs","repos_url":"https://api.github.com/users/bakerdb/repos","events_url":"https://api.github.com/users/bakerdb/events{/privacy}","received_events_url":"https://api.github.com/users/bakerdb/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bakerdb/fhir-bulk-data-docs","description":"Documentation and issue tracking for the emerging FHIR bulk data implementation guide","fork":true,"url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs","forks_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/forks","keys_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/teams","hooks_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/hooks","issue_events_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/issues/events{/number}","events_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/events","assignees_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/assignees{/user}","branches_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/branches{/branch}","tags_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/tags","blobs_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/languages","stargazers_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/stargazers","contributors_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/contributors","subscribers_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/subscribers","subscription_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/subscription","commits_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/contents/{+path}","compare_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/merges","archive_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/downloads","issues_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/issues{/number}","pulls_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/labels{/name}","releases_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/releases{/id}","deployments_url":"https://api.github.com/repos/bakerdb/fhir-bulk-data-docs/deployments","created_at":"2018-10-24T21:11:24Z","updated_at":"2018-10-24T21:11:26Z","pushed_at":"2018-10-26T19:26:21Z","git_url":"git://github.com/bakerdb/fhir-bulk-data-docs.git","ssh_url":"git@github.com:bakerdb/fhir-bulk-data-docs.git","clone_url":"https://github.com/bakerdb/fhir-bulk-data-docs.git","svn_url":"https://github.com/bakerdb/fhir-bulk-data-docs","homepage":null,"size":179,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"smart-on-fhir:master","ref":"master","sha":"9ac209b5c635814beda46a5ca85851f9ba6f2ccc","user":{"login":"smart-on-fhir","id":7401080,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0MDEwODA=","avatar_url":"https://avatars1.githubusercontent.com/u/7401080?v=4","gravatar_id":"","url":"https://api.github.com/users/smart-on-fhir","html_url":"https://github.com/smart-on-fhir","followers_url":"https://api.github.com/users/smart-on-fhir/followers","following_url":"https://api.github.com/users/smart-on-fhir/following{/other_user}","gists_url":"https://api.github.com/users/smart-on-fhir/gists{/gist_id}","starred_url":"https://api.github.com/users/smart-on-fhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smart-on-fhir/subscriptions","organizations_url":"https://api.github.com/users/smart-on-fhir/orgs","repos_url":"https://api.github.com/users/smart-on-fhir/repos","events_url":"https://api.github.com/users/smart-on-fhir/events{/privacy}","received_events_url":"https://api.github.com/users/smart-on-fhir/received_events","type":"Organization","site_admin":false},"repo":{"id":116404009,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY0MDQwMDk=","name":"fhir-bulk-data-docs","full_name":"smart-on-fhir/fhir-bulk-data-docs","private":false,"owner":{"login":"smart-on-fhir","id":7401080,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0MDEwODA=","avatar_url":"https://avatars1.githubusercontent.com/u/7401080?v=4","gravatar_id":"","url":"https://api.github.com/users/smart-on-fhir","html_url":"https://github.com/smart-on-fhir","followers_url":"https://api.github.com/users/smart-on-fhir/followers","following_url":"https://api.github.com/users/smart-on-fhir/following{/other_user}","gists_url":"https://api.github.com/users/smart-on-fhir/gists{/gist_id}","starred_url":"https://api.github.com/users/smart-on-fhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smart-on-fhir/subscriptions","organizations_url":"https://api.github.com/users/smart-on-fhir/orgs","repos_url":"https://api.github.com/users/smart-on-fhir/repos","events_url":"https://api.github.com/users/smart-on-fhir/events{/privacy}","received_events_url":"https://api.github.com/users/smart-on-fhir/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/smart-on-fhir/fhir-bulk-data-docs","description":"Documentation and issue tracking for the emerging FHIR bulk data implementation guide","fork":false,"url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs","forks_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/forks","keys_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/teams","hooks_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/hooks","issue_events_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/issues/events{/number}","events_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/events","assignees_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/assignees{/user}","branches_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/branches{/branch}","tags_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/tags","blobs_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/languages","stargazers_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/stargazers","contributors_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/contributors","subscribers_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/subscribers","subscription_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/subscription","commits_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/contents/{+path}","compare_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/merges","archive_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/downloads","issues_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/issues{/number}","pulls_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/labels{/name}","releases_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/releases{/id}","deployments_url":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/deployments","created_at":"2018-01-05T16:19:54Z","updated_at":"2018-10-24T22:06:51Z","pushed_at":"2018-10-26T19:26:34Z","git_url":"git://github.com/smart-on-fhir/fhir-bulk-data-docs.git","ssh_url":"git@github.com:smart-on-fhir/fhir-bulk-data-docs.git","clone_url":"https://github.com/smart-on-fhir/fhir-bulk-data-docs.git","svn_url":"https://github.com/smart-on-fhir/fhir-bulk-data-docs","homepage":null,"size":125,"stargazers_count":25,"watchers_count":25,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":12,"open_issues":8,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92"},"html":{"href":"https://github.com/smart-on-fhir/fhir-bulk-data-docs/pull/92"},"issue":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/issues/92"},"comments":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/smart-on-fhir/fhir-bulk-data-docs/statuses/6c04d630f00185d24b9c816b571658dc1a33c3fa"}},"author_association":"NONE"}}
{"actor":{"display_login":"jmandel"}}