{"action":"created","comment":{"url":"https://api.github.com/repos/okta/okta.github.io/pulls/comments/81415251","pull_request_review_id":2399643,"id":81415251,"diff_hunk":"@@ -131,10 +131,7 @@ var oktaSignIn = new OktaSignIn({baseUrl: orgUrl});\n ~~~\n \n Finally, the lines below actually render the Okta Sign-In\n-Widget. Note that the value for `el` can be whatever `id` that you \n-specify, also note that we only define a \"SUCCESS\" callback in which we create an Okta session and redirect the browser to the Okta organization, which will log the user straight into her Okta dashboard. In a\n-production environment, you will want to handle statuses beyond\n-\"SUCCESS\", you will likely also want to define an \"ERROR\"\n+Widget. Note that the value for `el` can be any selector of your choice - \"#okta-login-container\" is a selector for an element in the html that has an id attribute of \"okta-login-container\". Also note that we only define a \"SUCCESS\" callback in which we create an Okta session and redirect the browser to the Okta organization. This logs the user directly into the Okta dashboard. In a production environment, you will want to handle statuses beyond \"SUCCESS\", you will likely also want to define an \"ERROR\"","path":"_source/_code/javascript/okta_sign-in_widget.md","position":null,"original_position":26,"commit_id":"94ea5837227d34f7b0f069cbd268fb0fb9c4318d","original_commit_id":"94ea5837227d34f7b0f069cbd268fb0fb9c4318d","user":{"login":"raphaellondner-okta","id":16488900,"avatar_url":"https://avatars.githubusercontent.com/u/16488900?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaellondner-okta","html_url":"https://github.com/raphaellondner-okta","followers_url":"https://api.github.com/users/raphaellondner-okta/followers","following_url":"https://api.github.com/users/raphaellondner-okta/following{/other_user}","gists_url":"https://api.github.com/users/raphaellondner-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaellondner-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaellondner-okta/subscriptions","organizations_url":"https://api.github.com/users/raphaellondner-okta/orgs","repos_url":"https://api.github.com/users/raphaellondner-okta/repos","events_url":"https://api.github.com/users/raphaellondner-okta/events{/privacy}","received_events_url":"https://api.github.com/users/raphaellondner-okta/received_events","type":"User","site_admin":false},"body":"(thumbsup)","created_at":"2016-09-30T20:47:29Z","updated_at":"2016-09-30T20:47:29Z","html_url":"https://github.com/okta/okta.github.io/pull/415#discussion_r81415251","pull_request_url":"https://api.github.com/repos/okta/okta.github.io/pulls/415","_links":{"self":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/comments/81415251"},"html":{"href":"https://github.com/okta/okta.github.io/pull/415#discussion_r81415251"},"pull_request":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/415"}}},"pull_request":{"url":"https://api.github.com/repos/okta/okta.github.io/pulls/415","id":86833650,"html_url":"https://github.com/okta/okta.github.io/pull/415","diff_url":"https://github.com/okta/okta.github.io/pull/415.diff","patch_url":"https://github.com/okta/okta.github.io/pull/415.patch","issue_url":"https://api.github.com/repos/okta/okta.github.io/issues/415","number":415,"state":"open","locked":false,"title":"OSW documentation update to v1.6.0","user":{"login":"raphaellondner-okta","id":16488900,"avatar_url":"https://avatars.githubusercontent.com/u/16488900?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaellondner-okta","html_url":"https://github.com/raphaellondner-okta","followers_url":"https://api.github.com/users/raphaellondner-okta/followers","following_url":"https://api.github.com/users/raphaellondner-okta/following{/other_user}","gists_url":"https://api.github.com/users/raphaellondner-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaellondner-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaellondner-okta/subscriptions","organizations_url":"https://api.github.com/users/raphaellondner-okta/orgs","repos_url":"https://api.github.com/users/raphaellondner-okta/repos","events_url":"https://api.github.com/users/raphaellondner-okta/events{/privacy}","received_events_url":"https://api.github.com/users/raphaellondner-okta/received_events","type":"User","site_admin":false},"body":"Removed unnecessary parameters, split OAuth and social providers documentation and clarified some OIDC/OAuth parameters","created_at":"2016-09-26T22:50:19Z","updated_at":"2016-09-30T20:47:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7947be18b10f80718cccd50621f86c083995385d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/okta/okta.github.io/pulls/415/commits","review_comments_url":"https://api.github.com/repos/okta/okta.github.io/pulls/415/comments","review_comment_url":"https://api.github.com/repos/okta/okta.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okta/okta.github.io/issues/415/comments","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/94ea5837227d34f7b0f069cbd268fb0fb9c4318d","head":{"label":"raphaellondner-okta:rl20160926","ref":"rl20160926","sha":"94ea5837227d34f7b0f069cbd268fb0fb9c4318d","user":{"login":"raphaellondner-okta","id":16488900,"avatar_url":"https://avatars.githubusercontent.com/u/16488900?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaellondner-okta","html_url":"https://github.com/raphaellondner-okta","followers_url":"https://api.github.com/users/raphaellondner-okta/followers","following_url":"https://api.github.com/users/raphaellondner-okta/following{/other_user}","gists_url":"https://api.github.com/users/raphaellondner-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaellondner-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaellondner-okta/subscriptions","organizations_url":"https://api.github.com/users/raphaellondner-okta/orgs","repos_url":"https://api.github.com/users/raphaellondner-okta/repos","events_url":"https://api.github.com/users/raphaellondner-okta/events{/privacy}","received_events_url":"https://api.github.com/users/raphaellondner-okta/received_events","type":"User","site_admin":false},"repo":{"id":69299024,"name":"okta.github.io","full_name":"raphaellondner-okta/okta.github.io","owner":{"login":"raphaellondner-okta","id":16488900,"avatar_url":"https://avatars.githubusercontent.com/u/16488900?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaellondner-okta","html_url":"https://github.com/raphaellondner-okta","followers_url":"https://api.github.com/users/raphaellondner-okta/followers","following_url":"https://api.github.com/users/raphaellondner-okta/following{/other_user}","gists_url":"https://api.github.com/users/raphaellondner-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaellondner-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaellondner-okta/subscriptions","organizations_url":"https://api.github.com/users/raphaellondner-okta/orgs","repos_url":"https://api.github.com/users/raphaellondner-okta/repos","events_url":"https://api.github.com/users/raphaellondner-okta/events{/privacy}","received_events_url":"https://api.github.com/users/raphaellondner-okta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raphaellondner-okta/okta.github.io","description":"Okta Identity Platform API Docs and Developer Home","fork":true,"url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io","forks_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/forks","keys_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/teams","hooks_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/hooks","issue_events_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/events","assignees_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/tags","blobs_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/languages","stargazers_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/stargazers","contributors_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/contributors","subscribers_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/subscribers","subscription_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/subscription","commits_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/merges","archive_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/downloads","issues_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/labels{/name}","releases_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/raphaellondner-okta/okta.github.io/deployments","created_at":"2016-09-26T22:46:25Z","updated_at":"2016-09-26T22:46:33Z","pushed_at":"2016-09-29T00:05:29Z","git_url":"git://github.com/raphaellondner-okta/okta.github.io.git","ssh_url":"git@github.com:raphaellondner-okta/okta.github.io.git","clone_url":"https://github.com/raphaellondner-okta/okta.github.io.git","svn_url":"https://github.com/raphaellondner-okta/okta.github.io","homepage":"http://developer.okta.com/","size":33373,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"okta:master","ref":"master","sha":"774dbd11ca70ba2ce3b06fe342716c43bcf06127","user":{"login":"okta","id":362460,"avatar_url":"https://avatars.githubusercontent.com/u/362460?v=3","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"repo":{"id":10953058,"name":"okta.github.io","full_name":"okta/okta.github.io","owner":{"login":"okta","id":362460,"avatar_url":"https://avatars.githubusercontent.com/u/362460?v=3","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okta/okta.github.io","description":"Okta Identity Platform API Docs and Developer Home","fork":false,"url":"https://api.github.com/repos/okta/okta.github.io","forks_url":"https://api.github.com/repos/okta/okta.github.io/forks","keys_url":"https://api.github.com/repos/okta/okta.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okta/okta.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okta/okta.github.io/teams","hooks_url":"https://api.github.com/repos/okta/okta.github.io/hooks","issue_events_url":"https://api.github.com/repos/okta/okta.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/okta/okta.github.io/events","assignees_url":"https://api.github.com/repos/okta/okta.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/okta/okta.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/okta/okta.github.io/tags","blobs_url":"https://api.github.com/repos/okta/okta.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okta/okta.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okta/okta.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/okta/okta.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/okta/okta.github.io/languages","stargazers_url":"https://api.github.com/repos/okta/okta.github.io/stargazers","contributors_url":"https://api.github.com/repos/okta/okta.github.io/contributors","subscribers_url":"https://api.github.com/repos/okta/okta.github.io/subscribers","subscription_url":"https://api.github.com/repos/okta/okta.github.io/subscription","commits_url":"https://api.github.com/repos/okta/okta.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/okta/okta.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/okta/okta.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/okta/okta.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/okta/okta.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/okta/okta.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okta/okta.github.io/merges","archive_url":"https://api.github.com/repos/okta/okta.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okta/okta.github.io/downloads","issues_url":"https://api.github.com/repos/okta/okta.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/okta/okta.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/okta/okta.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/okta/okta.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okta/okta.github.io/labels{/name}","releases_url":"https://api.github.com/repos/okta/okta.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/okta/okta.github.io/deployments","created_at":"2013-06-25T23:22:38Z","updated_at":"2016-09-15T16:32:52Z","pushed_at":"2016-09-29T00:11:08Z","git_url":"git://github.com/okta/okta.github.io.git","ssh_url":"git@github.com:okta/okta.github.io.git","clone_url":"https://github.com/okta/okta.github.io.git","svn_url":"https://github.com/okta/okta.github.io","homepage":"http://developer.okta.com/","size":34256,"stargazers_count":15,"watchers_count":15,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":43,"mirror_url":null,"open_issues_count":18,"forks":43,"open_issues":18,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/415"},"html":{"href":"https://github.com/okta/okta.github.io/pull/415"},"issue":{"href":"https://api.github.com/repos/okta/okta.github.io/issues/415"},"comments":{"href":"https://api.github.com/repos/okta/okta.github.io/issues/415/comments"},"review_comments":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/415/comments"},"review_comment":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/415/commits"},"statuses":{"href":"https://api.github.com/repos/okta/okta.github.io/statuses/94ea5837227d34f7b0f069cbd268fb0fb9c4318d"}}}}
{"actor":{"display_login":"raphaellondner-okta"}}