{"action":"created","comment":{"url":"https://api.github.com/repos/openstf/stf/pulls/comments/49556696","id":49556696,"diff_hunk":"@@ -574,6 +574,42 @@ program\n   })\n \n program\n+  .command('auth-openid')\n+  .description('start openid auth client')\n+  .option('-p, --port <port>'\n+    , 'port (or $PORT)'\n+    , Number\n+    , process.env.PORT || 7120)\n+  .option('-s, --secret <secret>'\n+    , 'secret (or $SECRET)'\n+    , String\n+    , process.env.SECRET)\n+  .option('-a, --app-url <url>'\n+    , 'URL to app'\n+    , String)\n+  .option('--identifier <identifier>'\n+    , 'identifier'\n+    , String)","path":"lib/cli.js","position":19,"original_position":19,"commit_id":"555815d66538f4fed8cb6544651a96d84f6aff54","original_commit_id":"555815d66538f4fed8cb6544651a96d84f6aff54","user":{"login":"vbanthia","id":7875161,"avatar_url":"https://avatars.githubusercontent.com/u/7875161?v=3","gravatar_id":"","url":"https://api.github.com/users/vbanthia","html_url":"https://github.com/vbanthia","followers_url":"https://api.github.com/users/vbanthia/followers","following_url":"https://api.github.com/users/vbanthia/following{/other_user}","gists_url":"https://api.github.com/users/vbanthia/gists{/gist_id}","starred_url":"https://api.github.com/users/vbanthia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbanthia/subscriptions","organizations_url":"https://api.github.com/users/vbanthia/orgs","repos_url":"https://api.github.com/users/vbanthia/repos","events_url":"https://api.github.com/users/vbanthia/events{/privacy}","received_events_url":"https://api.github.com/users/vbanthia/received_events","type":"User","site_admin":false},"body":"Also, let users to set this option using environment variable, something like `process.env.OPENID_IDENTIFIER_URL`","created_at":"2016-01-13T06:56:50Z","updated_at":"2016-01-13T06:56:50Z","html_url":"https://github.com/openstf/stf/pull/247#discussion_r49556696","pull_request_url":"https://api.github.com/repos/openstf/stf/pulls/247","_links":{"self":{"href":"https://api.github.com/repos/openstf/stf/pulls/comments/49556696"},"html":{"href":"https://github.com/openstf/stf/pull/247#discussion_r49556696"},"pull_request":{"href":"https://api.github.com/repos/openstf/stf/pulls/247"}}},"pull_request":{"url":"https://api.github.com/repos/openstf/stf/pulls/247","id":55858897,"html_url":"https://github.com/openstf/stf/pull/247","diff_url":"https://github.com/openstf/stf/pull/247.diff","patch_url":"https://github.com/openstf/stf/pull/247.patch","issue_url":"https://api.github.com/repos/openstf/stf/issues/247","number":247,"state":"open","locked":false,"title":"Pr auth openid","user":{"login":"codeskyblue","id":3281689,"avatar_url":"https://avatars.githubusercontent.com/u/3281689?v=3","gravatar_id":"","url":"https://api.github.com/users/codeskyblue","html_url":"https://github.com/codeskyblue","followers_url":"https://api.github.com/users/codeskyblue/followers","following_url":"https://api.github.com/users/codeskyblue/following{/other_user}","gists_url":"https://api.github.com/users/codeskyblue/gists{/gist_id}","starred_url":"https://api.github.com/users/codeskyblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeskyblue/subscriptions","organizations_url":"https://api.github.com/users/codeskyblue/orgs","repos_url":"https://api.github.com/users/codeskyblue/repos","events_url":"https://api.github.com/users/codeskyblue/events{/privacy}","received_events_url":"https://api.github.com/users/codeskyblue/received_events","type":"User","site_admin":false},"body":"Add openid support which used in my company.","created_at":"2016-01-13T06:23:17Z","updated_at":"2016-01-13T06:56:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5dd03ffe24adba2b1e62b74bcae0b7a55485cf7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openstf/stf/pulls/247/commits","review_comments_url":"https://api.github.com/repos/openstf/stf/pulls/247/comments","review_comment_url":"https://api.github.com/repos/openstf/stf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openstf/stf/issues/247/comments","statuses_url":"https://api.github.com/repos/openstf/stf/statuses/555815d66538f4fed8cb6544651a96d84f6aff54","head":{"label":"codeskyblue:pr-auth-openid","ref":"pr-auth-openid","sha":"555815d66538f4fed8cb6544651a96d84f6aff54","user":{"login":"codeskyblue","id":3281689,"avatar_url":"https://avatars.githubusercontent.com/u/3281689?v=3","gravatar_id":"","url":"https://api.github.com/users/codeskyblue","html_url":"https://github.com/codeskyblue","followers_url":"https://api.github.com/users/codeskyblue/followers","following_url":"https://api.github.com/users/codeskyblue/following{/other_user}","gists_url":"https://api.github.com/users/codeskyblue/gists{/gist_id}","starred_url":"https://api.github.com/users/codeskyblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeskyblue/subscriptions","organizations_url":"https://api.github.com/users/codeskyblue/orgs","repos_url":"https://api.github.com/users/codeskyblue/repos","events_url":"https://api.github.com/users/codeskyblue/events{/privacy}","received_events_url":"https://api.github.com/users/codeskyblue/received_events","type":"User","site_admin":false},"repo":{"id":39994955,"name":"stf","full_name":"codeskyblue/stf","owner":{"login":"codeskyblue","id":3281689,"avatar_url":"https://avatars.githubusercontent.com/u/3281689?v=3","gravatar_id":"","url":"https://api.github.com/users/codeskyblue","html_url":"https://github.com/codeskyblue","followers_url":"https://api.github.com/users/codeskyblue/followers","following_url":"https://api.github.com/users/codeskyblue/following{/other_user}","gists_url":"https://api.github.com/users/codeskyblue/gists{/gist_id}","starred_url":"https://api.github.com/users/codeskyblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeskyblue/subscriptions","organizations_url":"https://api.github.com/users/codeskyblue/orgs","repos_url":"https://api.github.com/users/codeskyblue/repos","events_url":"https://api.github.com/users/codeskyblue/events{/privacy}","received_events_url":"https://api.github.com/users/codeskyblue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codeskyblue/stf","description":"Control and manage Android devices from your browser.","fork":true,"url":"https://api.github.com/repos/codeskyblue/stf","forks_url":"https://api.github.com/repos/codeskyblue/stf/forks","keys_url":"https://api.github.com/repos/codeskyblue/stf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeskyblue/stf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeskyblue/stf/teams","hooks_url":"https://api.github.com/repos/codeskyblue/stf/hooks","issue_events_url":"https://api.github.com/repos/codeskyblue/stf/issues/events{/number}","events_url":"https://api.github.com/repos/codeskyblue/stf/events","assignees_url":"https://api.github.com/repos/codeskyblue/stf/assignees{/user}","branches_url":"https://api.github.com/repos/codeskyblue/stf/branches{/branch}","tags_url":"https://api.github.com/repos/codeskyblue/stf/tags","blobs_url":"https://api.github.com/repos/codeskyblue/stf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeskyblue/stf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeskyblue/stf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeskyblue/stf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeskyblue/stf/statuses/{sha}","languages_url":"https://api.github.com/repos/codeskyblue/stf/languages","stargazers_url":"https://api.github.com/repos/codeskyblue/stf/stargazers","contributors_url":"https://api.github.com/repos/codeskyblue/stf/contributors","subscribers_url":"https://api.github.com/repos/codeskyblue/stf/subscribers","subscription_url":"https://api.github.com/repos/codeskyblue/stf/subscription","commits_url":"https://api.github.com/repos/codeskyblue/stf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeskyblue/stf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeskyblue/stf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeskyblue/stf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeskyblue/stf/contents/{+path}","compare_url":"https://api.github.com/repos/codeskyblue/stf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeskyblue/stf/merges","archive_url":"https://api.github.com/repos/codeskyblue/stf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeskyblue/stf/downloads","issues_url":"https://api.github.com/repos/codeskyblue/stf/issues{/number}","pulls_url":"https://api.github.com/repos/codeskyblue/stf/pulls{/number}","milestones_url":"https://api.github.com/repos/codeskyblue/stf/milestones{/number}","notifications_url":"https://api.github.com/repos/codeskyblue/stf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeskyblue/stf/labels{/name}","releases_url":"https://api.github.com/repos/codeskyblue/stf/releases{/id}","created_at":"2015-07-31T08:23:54Z","updated_at":"2015-07-31T08:23:56Z","pushed_at":"2016-01-13T06:21:41Z","git_url":"git://github.com/codeskyblue/stf.git","ssh_url":"git@github.com:codeskyblue/stf.git","clone_url":"https://github.com/codeskyblue/stf.git","svn_url":"https://github.com/codeskyblue/stf","homepage":"https://openstf.github.io","size":56262,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"openstf:master","ref":"master","sha":"259f8a99d2667a1587685f5ed98fdb0644b0b161","user":{"login":"openstf","id":12196621,"avatar_url":"https://avatars.githubusercontent.com/u/12196621?v=3","gravatar_id":"","url":"https://api.github.com/users/openstf","html_url":"https://github.com/openstf","followers_url":"https://api.github.com/users/openstf/followers","following_url":"https://api.github.com/users/openstf/following{/other_user}","gists_url":"https://api.github.com/users/openstf/gists{/gist_id}","starred_url":"https://api.github.com/users/openstf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstf/subscriptions","organizations_url":"https://api.github.com/users/openstf/orgs","repos_url":"https://api.github.com/users/openstf/repos","events_url":"https://api.github.com/users/openstf/events{/privacy}","received_events_url":"https://api.github.com/users/openstf/received_events","type":"Organization","site_admin":false},"repo":{"id":37834277,"name":"stf","full_name":"openstf/stf","owner":{"login":"openstf","id":12196621,"avatar_url":"https://avatars.githubusercontent.com/u/12196621?v=3","gravatar_id":"","url":"https://api.github.com/users/openstf","html_url":"https://github.com/openstf","followers_url":"https://api.github.com/users/openstf/followers","following_url":"https://api.github.com/users/openstf/following{/other_user}","gists_url":"https://api.github.com/users/openstf/gists{/gist_id}","starred_url":"https://api.github.com/users/openstf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstf/subscriptions","organizations_url":"https://api.github.com/users/openstf/orgs","repos_url":"https://api.github.com/users/openstf/repos","events_url":"https://api.github.com/users/openstf/events{/privacy}","received_events_url":"https://api.github.com/users/openstf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstf/stf","description":"Control and manage Android devices from your browser.","fork":false,"url":"https://api.github.com/repos/openstf/stf","forks_url":"https://api.github.com/repos/openstf/stf/forks","keys_url":"https://api.github.com/repos/openstf/stf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstf/stf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstf/stf/teams","hooks_url":"https://api.github.com/repos/openstf/stf/hooks","issue_events_url":"https://api.github.com/repos/openstf/stf/issues/events{/number}","events_url":"https://api.github.com/repos/openstf/stf/events","assignees_url":"https://api.github.com/repos/openstf/stf/assignees{/user}","branches_url":"https://api.github.com/repos/openstf/stf/branches{/branch}","tags_url":"https://api.github.com/repos/openstf/stf/tags","blobs_url":"https://api.github.com/repos/openstf/stf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstf/stf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstf/stf/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstf/stf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstf/stf/statuses/{sha}","languages_url":"https://api.github.com/repos/openstf/stf/languages","stargazers_url":"https://api.github.com/repos/openstf/stf/stargazers","contributors_url":"https://api.github.com/repos/openstf/stf/contributors","subscribers_url":"https://api.github.com/repos/openstf/stf/subscribers","subscription_url":"https://api.github.com/repos/openstf/stf/subscription","commits_url":"https://api.github.com/repos/openstf/stf/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstf/stf/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstf/stf/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstf/stf/issues/comments{/number}","contents_url":"https://api.github.com/repos/openstf/stf/contents/{+path}","compare_url":"https://api.github.com/repos/openstf/stf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstf/stf/merges","archive_url":"https://api.github.com/repos/openstf/stf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstf/stf/downloads","issues_url":"https://api.github.com/repos/openstf/stf/issues{/number}","pulls_url":"https://api.github.com/repos/openstf/stf/pulls{/number}","milestones_url":"https://api.github.com/repos/openstf/stf/milestones{/number}","notifications_url":"https://api.github.com/repos/openstf/stf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstf/stf/labels{/name}","releases_url":"https://api.github.com/repos/openstf/stf/releases{/id}","created_at":"2015-06-22T02:23:43Z","updated_at":"2016-01-13T00:04:52Z","pushed_at":"2016-01-13T06:23:18Z","git_url":"git://github.com/openstf/stf.git","ssh_url":"git@github.com:openstf/stf.git","clone_url":"https://github.com/openstf/stf.git","svn_url":"https://github.com/openstf/stf","homepage":"https://openstf.io","size":56378,"stargazers_count":3089,"watchers_count":3089,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":269,"mirror_url":null,"open_issues_count":100,"forks":269,"open_issues":100,"watchers":3089,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openstf/stf/pulls/247"},"html":{"href":"https://github.com/openstf/stf/pull/247"},"issue":{"href":"https://api.github.com/repos/openstf/stf/issues/247"},"comments":{"href":"https://api.github.com/repos/openstf/stf/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/openstf/stf/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/openstf/stf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openstf/stf/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/openstf/stf/statuses/555815d66538f4fed8cb6544651a96d84f6aff54"}}}}