{"action":"created","comment":{"url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments/69937916","id":69937916,"diff_hunk":"@@ -35,54 +35,50 @@ Cerner currently supports the [SMART][4] launch workflow from within an EHR, suc\n \n Once a launch context is received by your client application from the EHR, it must be sent to the authorization server so that an authorization code may be requested. To request an authorization code, to turn in for an access code, you will need to issue a **GET** request to the authorization server's authorize endpoint, which is provided by the [SMART conformance statement][9]. At this point the authorization server will redirect the user to authenticate if they are not already authenticated. Your client application should use the system's browser for performing this exchange rather than an embedded browser. The **GET** request will **require** the following query parameters.\n \n-* response_type\n-* client_id\n+* response_type - currently only support \"code\"\n+* client_id  \n * launch - Note: only required if using a [SMART][4] launch context\n * aud - Required if using a [SMART][4] launch. This should be the fhir server root url.\n-* scope - Note: launch **must** be one of the scopes if using a [SMART][4] launch context. When requesting clinical data, [SMART scopes][11] for requesting clinical data must be provided.\n+* scope - Note: launch **must** be one of the scopes if using a [SMART][4] launch context. When requesting clinical data, [SMART scopes][11] for requesting clinical data must be provided. At minimum, one scope must be provided in order for a successful request to occur.\n \n It is also **recommended** that your client application provides the following query parameters.\n \n * state - to prevent [cross-site request forgery attacks][2]\n-* redirect_uri - note: The redirect_uri **must** match what was originally registered\n+* redirect_uri - note: The redirect_uri **must** match what was originally registered and requested\n \n-```\n-https://authorization.sandboxcerner.com/realms/{TENANT_ID}/protocols/smart/authorize?response_type=code&client_id={YOUR_CLIENT_ID}&state=12345&redirect_uri=https%3A%2F%2Ftest.com%2Fcb\n-```\n+The authorization server authorize URL can be found in the security section of the [conformance document](conformance.md)\n \n-If the user does not currently have an active session, the Authorization Server will redirect the user to the identity provider for the client organization in order to authenticate. \n+If the user does not currently have an active session, the Authorization Server will redirect the user to the identity provider for the client organization in order to authenticate.\n \n If successful, the authorization server will redirect the user-agent back to your client applications redirect_uri with a **code** query parameter. This is the authorization code that can be exchanged for an access token.\n \n ```\n https://test.com/cb?code=1234-567890ab-cdef\n ```\n \n-Note: Using embedded browsers prevents single sign-on and authentication may fail for certain organizations who implement third party authentication systems. \n+Note: Using embedded browsers prevents single sign-on and authentication may fail for certain organizations who implement third party authentication systems.\n \n ### Requesting an access token ###\n Once an authorization code has been acquired, a back-channel **POST** to the authorization server's token endpoint can be made to request an access token. Following the [OAuth 2.0][1] spec, the authorization server accepts a content type of **application/x-www-form-urlencoded** from your client application with the following information.\n \n-* grant_type\n+* grant_type - currently only support \"authorization_code\"\n * code\n * client_id\n-* redirect_uri (only if provided when the authorization code was requested)\n+* redirect_uri (only necessary if it was provided when the authorization code was requested)\n \n-```\n-https://authorization.sandboxcerner.com/realms/{TENANT_ID}/protocols/smart/token\n-```\n+The authorization server authorize URL can be found in the security section of the [conformance document](conformance.md)","path":"content/dstu2/authorization.md","position":58,"original_position":58,"commit_id":"7190e644600a8f8e9ee66f52edb28f47cf8b1d78","original_commit_id":"7190e644600a8f8e9ee66f52edb28f47cf8b1d78","user":{"login":"MaxPhilips","id":5505772,"avatar_url":"https://avatars.githubusercontent.com/u/5505772?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxPhilips","html_url":"https://github.com/MaxPhilips","followers_url":"https://api.github.com/users/MaxPhilips/followers","following_url":"https://api.github.com/users/MaxPhilips/following{/other_user}","gists_url":"https://api.github.com/users/MaxPhilips/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxPhilips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxPhilips/subscriptions","organizations_url":"https://api.github.com/users/MaxPhilips/orgs","repos_url":"https://api.github.com/users/MaxPhilips/repos","events_url":"https://api.github.com/users/MaxPhilips/events{/privacy}","received_events_url":"https://api.github.com/users/MaxPhilips/received_events","type":"User","site_admin":false},"body":"The link here should be (../conformance). Also nit to add a period","created_at":"2016-07-07T16:18:07Z","updated_at":"2016-07-07T16:18:07Z","html_url":"https://github.com/cerner/fhir.cerner.com/pull/62#discussion_r69937916","pull_request_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments/69937916"},"html":{"href":"https://github.com/cerner/fhir.cerner.com/pull/62#discussion_r69937916"},"pull_request":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62","id":75495342,"html_url":"https://github.com/cerner/fhir.cerner.com/pull/62","diff_url":"https://github.com/cerner/fhir.cerner.com/pull/62.diff","patch_url":"https://github.com/cerner/fhir.cerner.com/pull/62.patch","issue_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/62","number":62,"state":"open","locked":false,"title":"Authz2","user":{"login":"icon5585","id":13038616,"avatar_url":"https://avatars.githubusercontent.com/u/13038616?v=3","gravatar_id":"","url":"https://api.github.com/users/icon5585","html_url":"https://github.com/icon5585","followers_url":"https://api.github.com/users/icon5585/followers","following_url":"https://api.github.com/users/icon5585/following{/other_user}","gists_url":"https://api.github.com/users/icon5585/gists{/gist_id}","starred_url":"https://api.github.com/users/icon5585/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icon5585/subscriptions","organizations_url":"https://api.github.com/users/icon5585/orgs","repos_url":"https://api.github.com/users/icon5585/repos","events_url":"https://api.github.com/users/icon5585/events{/privacy}","received_events_url":"https://api.github.com/users/icon5585/received_events","type":"User","site_admin":false},"body":"Minor updates for the 2.0 release (OIDC stuff is not included) as well as the addition of our error URNs","created_at":"2016-06-28T15:13:29Z","updated_at":"2016-07-07T16:18:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92547fb39e047f8c9adbf38d442fc138642db21d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62/commits","review_comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62/comments","review_comment_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/62/comments","statuses_url":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/7190e644600a8f8e9ee66f52edb28f47cf8b1d78","head":{"label":"cerner:authz2","ref":"authz2","sha":"7190e644600a8f8e9ee66f52edb28f47cf8b1d78","user":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"repo":{"id":33555446,"name":"fhir.cerner.com","full_name":"cerner/fhir.cerner.com","owner":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerner/fhir.cerner.com","description":"API developer documentation for Cerner's FHIR services","fork":false,"url":"https://api.github.com/repos/cerner/fhir.cerner.com","forks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/forks","keys_url":"https://api.github.com/repos/cerner/fhir.cerner.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerner/fhir.cerner.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerner/fhir.cerner.com/teams","hooks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/hooks","issue_events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/events{/number}","events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/events","assignees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/assignees{/user}","branches_url":"https://api.github.com/repos/cerner/fhir.cerner.com/branches{/branch}","tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/tags","blobs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/{sha}","languages_url":"https://api.github.com/repos/cerner/fhir.cerner.com/languages","stargazers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/stargazers","contributors_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contributors","subscribers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscribers","subscription_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscription","commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contents/{+path}","compare_url":"https://api.github.com/repos/cerner/fhir.cerner.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerner/fhir.cerner.com/merges","archive_url":"https://api.github.com/repos/cerner/fhir.cerner.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerner/fhir.cerner.com/downloads","issues_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues{/number}","pulls_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls{/number}","milestones_url":"https://api.github.com/repos/cerner/fhir.cerner.com/milestones{/number}","notifications_url":"https://api.github.com/repos/cerner/fhir.cerner.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerner/fhir.cerner.com/labels{/name}","releases_url":"https://api.github.com/repos/cerner/fhir.cerner.com/releases{/id}","deployments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/deployments","created_at":"2015-04-07T16:40:08Z","updated_at":"2016-06-03T00:31:22Z","pushed_at":"2016-07-07T15:57:46Z","git_url":"git://github.com/cerner/fhir.cerner.com.git","ssh_url":"git@github.com:cerner/fhir.cerner.com.git","clone_url":"https://github.com/cerner/fhir.cerner.com.git","svn_url":"https://github.com/cerner/fhir.cerner.com","homepage":null,"size":1106,"stargazers_count":25,"watchers_count":25,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":25,"default_branch":"master"}},"base":{"label":"cerner:master","ref":"master","sha":"3b7aec39f9421c5fe6e95bd9ad840b2f8b77d651","user":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"repo":{"id":33555446,"name":"fhir.cerner.com","full_name":"cerner/fhir.cerner.com","owner":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerner/fhir.cerner.com","description":"API developer documentation for Cerner's FHIR services","fork":false,"url":"https://api.github.com/repos/cerner/fhir.cerner.com","forks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/forks","keys_url":"https://api.github.com/repos/cerner/fhir.cerner.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerner/fhir.cerner.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerner/fhir.cerner.com/teams","hooks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/hooks","issue_events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/events{/number}","events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/events","assignees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/assignees{/user}","branches_url":"https://api.github.com/repos/cerner/fhir.cerner.com/branches{/branch}","tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/tags","blobs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/{sha}","languages_url":"https://api.github.com/repos/cerner/fhir.cerner.com/languages","stargazers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/stargazers","contributors_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contributors","subscribers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscribers","subscription_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscription","commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contents/{+path}","compare_url":"https://api.github.com/repos/cerner/fhir.cerner.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerner/fhir.cerner.com/merges","archive_url":"https://api.github.com/repos/cerner/fhir.cerner.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerner/fhir.cerner.com/downloads","issues_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues{/number}","pulls_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls{/number}","milestones_url":"https://api.github.com/repos/cerner/fhir.cerner.com/milestones{/number}","notifications_url":"https://api.github.com/repos/cerner/fhir.cerner.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerner/fhir.cerner.com/labels{/name}","releases_url":"https://api.github.com/repos/cerner/fhir.cerner.com/releases{/id}","deployments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/deployments","created_at":"2015-04-07T16:40:08Z","updated_at":"2016-06-03T00:31:22Z","pushed_at":"2016-07-07T15:57:46Z","git_url":"git://github.com/cerner/fhir.cerner.com.git","ssh_url":"git@github.com:cerner/fhir.cerner.com.git","clone_url":"https://github.com/cerner/fhir.cerner.com.git","svn_url":"https://github.com/cerner/fhir.cerner.com","homepage":null,"size":1106,"stargazers_count":25,"watchers_count":25,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62"},"html":{"href":"https://github.com/cerner/fhir.cerner.com/pull/62"},"issue":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/62"},"comments":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/7190e644600a8f8e9ee66f52edb28f47cf8b1d78"}}}}
{"actor":{"display_login":"MaxPhilips"}}