{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-iot/gateway/pulls/comments/177539546","pull_request_review_id":107426528,"id":177539546,"diff_hunk":"@@ -0,0 +1,143 @@\n+<!DOCTYPE html>\n+<!-- This Source Code Form is subject to the terms of the Mozilla Public\n+   - License, v. 2.0. If a copy of the MPL was not distributed with this\n+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->\n+<html>\n+  <head>\n+    <meta charset=\"utf-8\">\n+    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n+    <meta name=\"theme-color\" content=\"#75AACF\">\n+    <title>Things Gateway - Local Token Service</title>\n+    <link rel=\"manifest\" href=\"/app.webmanifest\">\n+    <link rel=\"icon\" href=\"/images/icon.png\" type=\"image/png\" />\n+\n+    <link rel=\"stylesheet\"\n+          href=\"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css\">","path":"src/views/local-token-service.mustache","position":15,"original_position":15,"commit_id":"091a5fc3a79d065d7d5f1314f55d7d40d31888c8","original_commit_id":"091a5fc3a79d065d7d5f1314f55d7d40d31888c8","user":{"login":"mrstegeman","id":457381,"avatar_url":"https://avatars3.githubusercontent.com/u/457381?v=4","gravatar_id":"","url":"https://api.github.com/users/mrstegeman","html_url":"https://github.com/mrstegeman","followers_url":"https://api.github.com/users/mrstegeman/followers","following_url":"https://api.github.com/users/mrstegeman/following{/other_user}","gists_url":"https://api.github.com/users/mrstegeman/gists{/gist_id}","starred_url":"https://api.github.com/users/mrstegeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrstegeman/subscriptions","organizations_url":"https://api.github.com/users/mrstegeman/orgs","repos_url":"https://api.github.com/users/mrstegeman/repos","events_url":"https://api.github.com/users/mrstegeman/events{/privacy}","received_events_url":"https://api.github.com/users/mrstegeman/received_events","type":"User","site_admin":false},"body":"Do we want to pull the highlight.js lib into our tree for cases with no internet access?","created_at":"2018-03-27T19:10:24Z","updated_at":"2018-03-27T19:15:09Z","html_url":"https://github.com/mozilla-iot/gateway/pull/804#discussion_r177539546","pull_request_url":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mozilla-iot/gateway/pulls/comments/177539546"},"html":{"href":"https://github.com/mozilla-iot/gateway/pull/804#discussion_r177539546"},"pull_request":{"href":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804","id":177520223,"html_url":"https://github.com/mozilla-iot/gateway/pull/804","diff_url":"https://github.com/mozilla-iot/gateway/pull/804.diff","patch_url":"https://github.com/mozilla-iot/gateway/pull/804.patch","issue_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/804","number":804,"state":"open","locked":false,"title":"Add Local Token Service","user":{"login":"hobinjk","id":2776089,"avatar_url":"https://avatars1.githubusercontent.com/u/2776089?v=4","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false},"body":"Builds on #794 to allow users to create a new authorization\r\n\r\n<img width=\"622\" alt=\"settings-screen\" src=\"https://user-images.githubusercontent.com/2776089/37923215-992f999a-30fc-11e8-9029-3be1a0b305e3.png\">\r\n\r\n<img width=\"645\" alt=\"auth-request\" src=\"https://user-images.githubusercontent.com/2776089/37923218-9abfe9f4-30fc-11e8-994a-9d07f71b505d.png\">\r\n\r\n<img width=\"681\" alt=\"local-token-service\" src=\"https://user-images.githubusercontent.com/2776089/37923243-aa0ef396-30fc-11e8-8a22-bff8a5e5cc3b.png\">\r\n\r\n<img width=\"650\" alt=\"screen shot 2018-03-26 at 2 39 20 pm\" src=\"https://user-images.githubusercontent.com/2776089/37925888-c7d7de5e-3103-11e8-8537-0c24e0dcabc8.png\">\r\n","created_at":"2018-03-26T17:50:23Z","updated_at":"2018-03-27T19:15:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69426831498cc7f0cf54e30d89fcca3d748ba190","assignee":{"login":"hobinjk","id":2776089,"avatar_url":"https://avatars1.githubusercontent.com/u/2776089?v=4","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false},"assignees":[{"login":"hobinjk","id":2776089,"avatar_url":"https://avatars1.githubusercontent.com/u/2776089?v=4","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"benfrancis","id":552417,"avatar_url":"https://avatars3.githubusercontent.com/u/552417?v=4","gravatar_id":"","url":"https://api.github.com/users/benfrancis","html_url":"https://github.com/benfrancis","followers_url":"https://api.github.com/users/benfrancis/followers","following_url":"https://api.github.com/users/benfrancis/following{/other_user}","gists_url":"https://api.github.com/users/benfrancis/gists{/gist_id}","starred_url":"https://api.github.com/users/benfrancis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfrancis/subscriptions","organizations_url":"https://api.github.com/users/benfrancis/orgs","repos_url":"https://api.github.com/users/benfrancis/repos","events_url":"https://api.github.com/users/benfrancis/events{/privacy}","received_events_url":"https://api.github.com/users/benfrancis/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":762307581,"url":"https://api.github.com/repos/mozilla-iot/gateway/labels/review","name":"review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804/commits","review_comments_url":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804/comments","review_comment_url":"https://api.github.com/repos/mozilla-iot/gateway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/804/comments","statuses_url":"https://api.github.com/repos/mozilla-iot/gateway/statuses/091a5fc3a79d065d7d5f1314f55d7d40d31888c8","head":{"label":"hobinjk:local-token-service","ref":"local-token-service","sha":"091a5fc3a79d065d7d5f1314f55d7d40d31888c8","user":{"login":"hobinjk","id":2776089,"avatar_url":"https://avatars1.githubusercontent.com/u/2776089?v=4","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false},"repo":{"id":94111325,"name":"gateway","full_name":"hobinjk/gateway","owner":{"login":"hobinjk","id":2776089,"avatar_url":"https://avatars1.githubusercontent.com/u/2776089?v=4","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hobinjk/gateway","description":"Web of Things gateway","fork":true,"url":"https://api.github.com/repos/hobinjk/gateway","forks_url":"https://api.github.com/repos/hobinjk/gateway/forks","keys_url":"https://api.github.com/repos/hobinjk/gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hobinjk/gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hobinjk/gateway/teams","hooks_url":"https://api.github.com/repos/hobinjk/gateway/hooks","issue_events_url":"https://api.github.com/repos/hobinjk/gateway/issues/events{/number}","events_url":"https://api.github.com/repos/hobinjk/gateway/events","assignees_url":"https://api.github.com/repos/hobinjk/gateway/assignees{/user}","branches_url":"https://api.github.com/repos/hobinjk/gateway/branches{/branch}","tags_url":"https://api.github.com/repos/hobinjk/gateway/tags","blobs_url":"https://api.github.com/repos/hobinjk/gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hobinjk/gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hobinjk/gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/hobinjk/gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hobinjk/gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/hobinjk/gateway/languages","stargazers_url":"https://api.github.com/repos/hobinjk/gateway/stargazers","contributors_url":"https://api.github.com/repos/hobinjk/gateway/contributors","subscribers_url":"https://api.github.com/repos/hobinjk/gateway/subscribers","subscription_url":"https://api.github.com/repos/hobinjk/gateway/subscription","commits_url":"https://api.github.com/repos/hobinjk/gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/hobinjk/gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/hobinjk/gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/hobinjk/gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/hobinjk/gateway/contents/{+path}","compare_url":"https://api.github.com/repos/hobinjk/gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hobinjk/gateway/merges","archive_url":"https://api.github.com/repos/hobinjk/gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hobinjk/gateway/downloads","issues_url":"https://api.github.com/repos/hobinjk/gateway/issues{/number}","pulls_url":"https://api.github.com/repos/hobinjk/gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/hobinjk/gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/hobinjk/gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hobinjk/gateway/labels{/name}","releases_url":"https://api.github.com/repos/hobinjk/gateway/releases{/id}","deployments_url":"https://api.github.com/repos/hobinjk/gateway/deployments","created_at":"2017-06-12T15:24:28Z","updated_at":"2017-06-12T15:24:30Z","pushed_at":"2018-03-27T19:00:34Z","git_url":"git://github.com/hobinjk/gateway.git","ssh_url":"git@github.com:hobinjk/gateway.git","clone_url":"https://github.com/hobinjk/gateway.git","svn_url":"https://github.com/hobinjk/gateway","homepage":null,"size":2860,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"mozilla-iot:master","ref":"master","sha":"35b8ca5b9f33f1e338fe5ce5f1f474c9ce86d4e0","user":{"login":"mozilla-iot","id":20707259,"avatar_url":"https://avatars0.githubusercontent.com/u/20707259?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-iot","html_url":"https://github.com/mozilla-iot","followers_url":"https://api.github.com/users/mozilla-iot/followers","following_url":"https://api.github.com/users/mozilla-iot/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-iot/subscriptions","organizations_url":"https://api.github.com/users/mozilla-iot/orgs","repos_url":"https://api.github.com/users/mozilla-iot/repos","events_url":"https://api.github.com/users/mozilla-iot/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-iot/received_events","type":"Organization","site_admin":false},"repo":{"id":84347372,"name":"gateway","full_name":"mozilla-iot/gateway","owner":{"login":"mozilla-iot","id":20707259,"avatar_url":"https://avatars0.githubusercontent.com/u/20707259?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-iot","html_url":"https://github.com/mozilla-iot","followers_url":"https://api.github.com/users/mozilla-iot/followers","following_url":"https://api.github.com/users/mozilla-iot/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-iot/subscriptions","organizations_url":"https://api.github.com/users/mozilla-iot/orgs","repos_url":"https://api.github.com/users/mozilla-iot/repos","events_url":"https://api.github.com/users/mozilla-iot/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-iot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-iot/gateway","description":"Things Gateway","fork":false,"url":"https://api.github.com/repos/mozilla-iot/gateway","forks_url":"https://api.github.com/repos/mozilla-iot/gateway/forks","keys_url":"https://api.github.com/repos/mozilla-iot/gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-iot/gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-iot/gateway/teams","hooks_url":"https://api.github.com/repos/mozilla-iot/gateway/hooks","issue_events_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-iot/gateway/events","assignees_url":"https://api.github.com/repos/mozilla-iot/gateway/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-iot/gateway/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-iot/gateway/tags","blobs_url":"https://api.github.com/repos/mozilla-iot/gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-iot/gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-iot/gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-iot/gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-iot/gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-iot/gateway/languages","stargazers_url":"https://api.github.com/repos/mozilla-iot/gateway/stargazers","contributors_url":"https://api.github.com/repos/mozilla-iot/gateway/contributors","subscribers_url":"https://api.github.com/repos/mozilla-iot/gateway/subscribers","subscription_url":"https://api.github.com/repos/mozilla-iot/gateway/subscription","commits_url":"https://api.github.com/repos/mozilla-iot/gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-iot/gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-iot/gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-iot/gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-iot/gateway/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-iot/gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-iot/gateway/merges","archive_url":"https://api.github.com/repos/mozilla-iot/gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-iot/gateway/downloads","issues_url":"https://api.github.com/repos/mozilla-iot/gateway/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-iot/gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-iot/gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-iot/gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-iot/gateway/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-iot/gateway/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-iot/gateway/deployments","created_at":"2017-03-08T17:22:42Z","updated_at":"2018-03-27T19:00:03Z","pushed_at":"2018-03-27T19:00:35Z","git_url":"git://github.com/mozilla-iot/gateway.git","ssh_url":"git@github.com:mozilla-iot/gateway.git","clone_url":"https://github.com/mozilla-iot/gateway.git","svn_url":"https://github.com/mozilla-iot/gateway","homepage":"http://iot.mozilla.org/gateway","size":2773,"stargazers_count":923,"watchers_count":923,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":84,"open_issues":131,"watchers":923,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804"},"html":{"href":"https://github.com/mozilla-iot/gateway/pull/804"},"issue":{"href":"https://api.github.com/repos/mozilla-iot/gateway/issues/804"},"comments":{"href":"https://api.github.com/repos/mozilla-iot/gateway/issues/804/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-iot/gateway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-iot/gateway/pulls/804/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-iot/gateway/statuses/091a5fc3a79d065d7d5f1314f55d7d40d31888c8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mrstegeman"}}