{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments/115150424","pull_request_review_id":36670413,"id":115150424,"diff_hunk":"@@ -1,6 +1,13 @@\n \n A simple authentication server written in go that authenticates user agains the `tm_user` table and returns a jwt representing the user, incl. its API access capabilities, derived from the user's role.\n \n+#### Legacy TO support\n+\n+Legacy TO authorization code requires any API call to pass a mojolicios access token in its access control headers.\n+Untill this code is deprecated, the Auth server and the API GW handle legacy authorization in hte following way:","path":"traffic_ops/experimental/auth/README.md","position":7,"original_position":7,"commit_id":"2419fde8ed3639a202da4d6f6caaf401805f360f","original_commit_id":"2419fde8ed3639a202da4d6f6caaf401805f360f","user":{"login":"rob05c","id":5113421,"avatar_url":"https://avatars0.githubusercontent.com/u/5113421?v=3","gravatar_id":"","url":"https://api.github.com/users/rob05c","html_url":"https://github.com/rob05c","followers_url":"https://api.github.com/users/rob05c/followers","following_url":"https://api.github.com/users/rob05c/following{/other_user}","gists_url":"https://api.github.com/users/rob05c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob05c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob05c/subscriptions","organizations_url":"https://api.github.com/users/rob05c/orgs","repos_url":"https://api.github.com/users/rob05c/repos","events_url":"https://api.github.com/users/rob05c/events{/privacy}","received_events_url":"https://api.github.com/users/rob05c/received_events","type":"User","site_admin":false},"body":"Typo, \"in the\"","created_at":"2017-05-07T18:26:40Z","updated_at":"2017-05-07T18:26:40Z","html_url":"https://github.com/apache/incubator-trafficcontrol/pull/551#discussion_r115150424","pull_request_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments/115150424"},"html":{"href":"https://github.com/apache/incubator-trafficcontrol/pull/551#discussion_r115150424"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551","id":119339484,"html_url":"https://github.com/apache/incubator-trafficcontrol/pull/551","diff_url":"https://github.com/apache/incubator-trafficcontrol/pull/551.diff","patch_url":"https://github.com/apache/incubator-trafficcontrol/pull/551.patch","issue_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/551","number":551,"state":"open","locked":false,"title":"API GW phase 0 (depends on PR #544)","user":{"login":"amiryesh","id":16480488,"avatar_url":"https://avatars2.githubusercontent.com/u/16480488?v=3","gravatar_id":"","url":"https://api.github.com/users/amiryesh","html_url":"https://github.com/amiryesh","followers_url":"https://api.github.com/users/amiryesh/followers","following_url":"https://api.github.com/users/amiryesh/following{/other_user}","gists_url":"https://api.github.com/users/amiryesh/gists{/gist_id}","starred_url":"https://api.github.com/users/amiryesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amiryesh/subscriptions","organizations_url":"https://api.github.com/users/amiryesh/orgs","repos_url":"https://api.github.com/users/amiryesh/repos","events_url":"https://api.github.com/users/amiryesh/events{/privacy}","received_events_url":"https://api.github.com/users/amiryesh/received_events","type":"User","site_admin":false},"body":"First operational version of API GW","created_at":"2017-05-07T13:52:41Z","updated_at":"2017-05-07T18:26:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16725241580cf1b3d5339b5753955079f10e6782","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/551/comments","statuses_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/2419fde8ed3639a202da4d6f6caaf401805f360f","head":{"label":"amiryesh:master","ref":"master","sha":"2419fde8ed3639a202da4d6f6caaf401805f360f","user":{"login":"amiryesh","id":16480488,"avatar_url":"https://avatars2.githubusercontent.com/u/16480488?v=3","gravatar_id":"","url":"https://api.github.com/users/amiryesh","html_url":"https://github.com/amiryesh","followers_url":"https://api.github.com/users/amiryesh/followers","following_url":"https://api.github.com/users/amiryesh/following{/other_user}","gists_url":"https://api.github.com/users/amiryesh/gists{/gist_id}","starred_url":"https://api.github.com/users/amiryesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amiryesh/subscriptions","organizations_url":"https://api.github.com/users/amiryesh/orgs","repos_url":"https://api.github.com/users/amiryesh/repos","events_url":"https://api.github.com/users/amiryesh/events{/privacy}","received_events_url":"https://api.github.com/users/amiryesh/received_events","type":"User","site_admin":false},"repo":{"id":80423639,"name":"incubator-trafficcontrol","full_name":"amiryesh/incubator-trafficcontrol","owner":{"login":"amiryesh","id":16480488,"avatar_url":"https://avatars2.githubusercontent.com/u/16480488?v=3","gravatar_id":"","url":"https://api.github.com/users/amiryesh","html_url":"https://github.com/amiryesh","followers_url":"https://api.github.com/users/amiryesh/followers","following_url":"https://api.github.com/users/amiryesh/following{/other_user}","gists_url":"https://api.github.com/users/amiryesh/gists{/gist_id}","starred_url":"https://api.github.com/users/amiryesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amiryesh/subscriptions","organizations_url":"https://api.github.com/users/amiryesh/orgs","repos_url":"https://api.github.com/users/amiryesh/repos","events_url":"https://api.github.com/users/amiryesh/events{/privacy}","received_events_url":"https://api.github.com/users/amiryesh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amiryesh/incubator-trafficcontrol","description":"Mirror of Apache Traffic Control (incubating)","fork":true,"url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol","forks_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/forks","keys_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/teams","hooks_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/hooks","issue_events_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/issues/events{/number}","events_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/events","assignees_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/assignees{/user}","branches_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/branches{/branch}","tags_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/tags","blobs_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/statuses/{sha}","languages_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/languages","stargazers_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/stargazers","contributors_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/contributors","subscribers_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/subscribers","subscription_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/subscription","commits_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/contents/{+path}","compare_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/merges","archive_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/downloads","issues_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/issues{/number}","pulls_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/pulls{/number}","milestones_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/milestones{/number}","notifications_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/labels{/name}","releases_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/releases{/id}","deployments_url":"https://api.github.com/repos/amiryesh/incubator-trafficcontrol/deployments","created_at":"2017-01-30T13:27:36Z","updated_at":"2017-01-30T13:27:44Z","pushed_at":"2017-05-07T13:02:03Z","git_url":"git://github.com/amiryesh/incubator-trafficcontrol.git","ssh_url":"git@github.com:amiryesh/incubator-trafficcontrol.git","clone_url":"https://github.com/amiryesh/incubator-trafficcontrol.git","svn_url":"https://github.com/amiryesh/incubator-trafficcontrol","homepage":null,"size":53035,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"210facc2002bdf17a75a2fca8d3d093838ea368a","user":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":67198520,"name":"incubator-trafficcontrol","full_name":"apache/incubator-trafficcontrol","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-trafficcontrol","description":"Mirror of Apache Traffic Control (incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-trafficcontrol","forks_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/forks","keys_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/teams","hooks_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/events","assignees_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/tags","blobs_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/subscription","commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/merges","archive_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/downloads","issues_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-trafficcontrol/deployments","created_at":"2016-09-02T07:00:06Z","updated_at":"2017-04-24T17:57:02Z","pushed_at":"2017-05-07T13:52:41Z","git_url":"git://github.com/apache/incubator-trafficcontrol.git","ssh_url":"git@github.com:apache/incubator-trafficcontrol.git","clone_url":"https://github.com/apache/incubator-trafficcontrol.git","svn_url":"https://github.com/apache/incubator-trafficcontrol","homepage":null,"size":53689,"stargazers_count":30,"watchers_count":30,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":55,"mirror_url":"git://git.apache.org/incubator-trafficcontrol.git","open_issues_count":39,"forks":55,"open_issues":39,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551"},"html":{"href":"https://github.com/apache/incubator-trafficcontrol/pull/551"},"issue":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/551"},"comments":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/issues/551/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/pulls/551/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-trafficcontrol/statuses/2419fde8ed3639a202da4d6f6caaf401805f360f"}}}}
{"actor":{"display_login":"rob05c"}}