{"action":"created","comment":{"url":"https://api.github.com/repos/ga4gh/dockstore/pulls/comments/208252783","pull_request_review_id":144022493,"id":208252783,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODI1Mjc4Mw==","diff_hunk":"@@ -0,0 +1,40 @@\n+---\n+title: Login Functionality\n+permalink: /docs/publisher-tutorials/login-functionality/\n+---\n+\n+# Login Functionality\n+\n+Currently there are two third party application to login with: \n+- GitHub \n+- Google\n+\n+If you have no Dockstore accounts, click either of the \"Login with\" buttons to create a new Dockstore account.  The username will be auto-generated.\n+\n+At this point, you will be able to link as many tokens as you want (Quay.io, Bitbucket, GitLab, Google/GitHub).  If the first Dockstore account was created with GitHub and then a Google token was linked (i.e. you have a Google and GitHub token linked to the same account), you are then able to login to that same account with either \"Login with Google\" or \"Login with GitHub\".  \n+\n+## Multiple Accounts Situation\n+\n+There is a strange situation where multiple accounts can be created by a single person.  Which in reality should not happen that often...\n+1. A new Dockstore account was created using \"Login with GitHub\"\n+2. Signed out of new account\n+3. Clicked \"Login with Google\" \n+\n+This will end up creating two completely new Dockstore accounts (Google account with Google token and GitHub account with GitHub token) because Dockstore has no information to suggest otherwise that the GitHub account is related to the Google account. These accounts can then have as many tokens as possible linked - Google account with every token linked and GitHub account with every token linked.  Clicking \"Login with GitHub\" will only log into the GitHub account (even though there's a GitHub token linked in the Google account) and clicking \"Login with Google\" will only log into the Google account (even though there's a Google token in the GitHub account).","path":"_docs/login-functionality.md","position":23,"original_position":23,"commit_id":"034758c19ba39e1dc589592b6ff54d2cfe85363a","original_commit_id":"034758c19ba39e1dc589592b6ff54d2cfe85363a","user":{"login":"garyluu","id":24548904,"node_id":"MDQ6VXNlcjI0NTQ4OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/24548904?v=4","gravatar_id":"","url":"https://api.github.com/users/garyluu","html_url":"https://github.com/garyluu","followers_url":"https://api.github.com/users/garyluu/followers","following_url":"https://api.github.com/users/garyluu/following{/other_user}","gists_url":"https://api.github.com/users/garyluu/gists{/gist_id}","starred_url":"https://api.github.com/users/garyluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyluu/subscriptions","organizations_url":"https://api.github.com/users/garyluu/orgs","repos_url":"https://api.github.com/users/garyluu/repos","events_url":"https://api.github.com/users/garyluu/events{/privacy}","received_events_url":"https://api.github.com/users/garyluu/received_events","type":"User","site_admin":false},"body":"\"tokens\" can be changed \"accounts\", I don't really care about it and it's not particularly important in the discussion\r\n\r\nI also brought it up in meeting, we should deter the user from even going to step 3 unless they're certain.  As far as I can tell, preventing step 6 would only result in 2 semi-functional accounts. ","created_at":"2018-08-07T14:27:26Z","updated_at":"2018-08-07T14:27:26Z","html_url":"https://github.com/ga4gh/dockstore/pull/1685#discussion_r208252783","pull_request_url":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/comments/208252783"},"html":{"href":"https://github.com/ga4gh/dockstore/pull/1685#discussion_r208252783"},"pull_request":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685"}},"in_reply_to_id":207691606},"pull_request":{"url":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685","id":206130103,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MTMwMTAz","html_url":"https://github.com/ga4gh/dockstore/pull/1685","diff_url":"https://github.com/ga4gh/dockstore/pull/1685.diff","patch_url":"https://github.com/ga4gh/dockstore/pull/1685.patch","issue_url":"https://api.github.com/repos/ga4gh/dockstore/issues/1685","number":1685,"state":"open","locked":false,"title":"Add docs about login functionality","user":{"login":"garyluu","id":24548904,"node_id":"MDQ6VXNlcjI0NTQ4OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/24548904?v=4","gravatar_id":"","url":"https://api.github.com/users/garyluu","html_url":"https://github.com/garyluu","followers_url":"https://api.github.com/users/garyluu/followers","following_url":"https://api.github.com/users/garyluu/following{/other_user}","gists_url":"https://api.github.com/users/garyluu/gists{/gist_id}","starred_url":"https://api.github.com/users/garyluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyluu/subscriptions","organizations_url":"https://api.github.com/users/garyluu/orgs","repos_url":"https://api.github.com/users/garyluu/repos","events_url":"https://api.github.com/users/garyluu/events{/privacy}","received_events_url":"https://api.github.com/users/garyluu/received_events","type":"User","site_admin":false},"body":"General information for both end users and Dockstore developers to understand the current implementation of the login functionality.","created_at":"2018-08-03T20:23:01Z","updated_at":"2018-08-07T14:27:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"971897b3e00f28d567b625b20c29db0bfab63ef8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"denis-yuen","id":1730679,"node_id":"MDQ6VXNlcjE3MzA2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1730679?v=4","gravatar_id":"","url":"https://api.github.com/users/denis-yuen","html_url":"https://github.com/denis-yuen","followers_url":"https://api.github.com/users/denis-yuen/followers","following_url":"https://api.github.com/users/denis-yuen/following{/other_user}","gists_url":"https://api.github.com/users/denis-yuen/gists{/gist_id}","starred_url":"https://api.github.com/users/denis-yuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denis-yuen/subscriptions","organizations_url":"https://api.github.com/users/denis-yuen/orgs","repos_url":"https://api.github.com/users/denis-yuen/repos","events_url":"https://api.github.com/users/denis-yuen/events{/privacy}","received_events_url":"https://api.github.com/users/denis-yuen/received_events","type":"User","site_admin":false},{"login":"agduncan94","id":6331159,"node_id":"MDQ6VXNlcjYzMzExNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6331159?v=4","gravatar_id":"","url":"https://api.github.com/users/agduncan94","html_url":"https://github.com/agduncan94","followers_url":"https://api.github.com/users/agduncan94/followers","following_url":"https://api.github.com/users/agduncan94/following{/other_user}","gists_url":"https://api.github.com/users/agduncan94/gists{/gist_id}","starred_url":"https://api.github.com/users/agduncan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agduncan94/subscriptions","organizations_url":"https://api.github.com/users/agduncan94/orgs","repos_url":"https://api.github.com/users/agduncan94/repos","events_url":"https://api.github.com/users/agduncan94/events{/privacy}","received_events_url":"https://api.github.com/users/agduncan94/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685/commits","review_comments_url":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685/comments","review_comment_url":"https://api.github.com/repos/ga4gh/dockstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga4gh/dockstore/issues/1685/comments","statuses_url":"https://api.github.com/repos/ga4gh/dockstore/statuses/034758c19ba39e1dc589592b6ff54d2cfe85363a","head":{"label":"ga4gh:docs/googleLogin","ref":"docs/googleLogin","sha":"034758c19ba39e1dc589592b6ff54d2cfe85363a","user":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"repo":{"id":33383826,"node_id":"MDEwOlJlcG9zaXRvcnkzMzM4MzgyNg==","name":"dockstore","full_name":"ga4gh/dockstore","owner":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga4gh/dockstore","description":"Our VM/Docker sharing infrastructure and management component","fork":false,"url":"https://api.github.com/repos/ga4gh/dockstore","forks_url":"https://api.github.com/repos/ga4gh/dockstore/forks","keys_url":"https://api.github.com/repos/ga4gh/dockstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga4gh/dockstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga4gh/dockstore/teams","hooks_url":"https://api.github.com/repos/ga4gh/dockstore/hooks","issue_events_url":"https://api.github.com/repos/ga4gh/dockstore/issues/events{/number}","events_url":"https://api.github.com/repos/ga4gh/dockstore/events","assignees_url":"https://api.github.com/repos/ga4gh/dockstore/assignees{/user}","branches_url":"https://api.github.com/repos/ga4gh/dockstore/branches{/branch}","tags_url":"https://api.github.com/repos/ga4gh/dockstore/tags","blobs_url":"https://api.github.com/repos/ga4gh/dockstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga4gh/dockstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga4gh/dockstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga4gh/dockstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga4gh/dockstore/statuses/{sha}","languages_url":"https://api.github.com/repos/ga4gh/dockstore/languages","stargazers_url":"https://api.github.com/repos/ga4gh/dockstore/stargazers","contributors_url":"https://api.github.com/repos/ga4gh/dockstore/contributors","subscribers_url":"https://api.github.com/repos/ga4gh/dockstore/subscribers","subscription_url":"https://api.github.com/repos/ga4gh/dockstore/subscription","commits_url":"https://api.github.com/repos/ga4gh/dockstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga4gh/dockstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga4gh/dockstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga4gh/dockstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga4gh/dockstore/contents/{+path}","compare_url":"https://api.github.com/repos/ga4gh/dockstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga4gh/dockstore/merges","archive_url":"https://api.github.com/repos/ga4gh/dockstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga4gh/dockstore/downloads","issues_url":"https://api.github.com/repos/ga4gh/dockstore/issues{/number}","pulls_url":"https://api.github.com/repos/ga4gh/dockstore/pulls{/number}","milestones_url":"https://api.github.com/repos/ga4gh/dockstore/milestones{/number}","notifications_url":"https://api.github.com/repos/ga4gh/dockstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga4gh/dockstore/labels{/name}","releases_url":"https://api.github.com/repos/ga4gh/dockstore/releases{/id}","deployments_url":"https://api.github.com/repos/ga4gh/dockstore/deployments","created_at":"2015-04-03T21:34:05Z","updated_at":"2018-08-03T20:12:24Z","pushed_at":"2018-08-07T13:33:56Z","git_url":"git://github.com/ga4gh/dockstore.git","ssh_url":"git@github.com:ga4gh/dockstore.git","clone_url":"https://github.com/ga4gh/dockstore.git","svn_url":"https://github.com/ga4gh/dockstore","homepage":"https://dockstore.org/","size":19397,"stargazers_count":52,"watchers_count":52,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":314,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":314,"watchers":52,"default_branch":"develop"}},"base":{"label":"ga4gh:gh-pages","ref":"gh-pages","sha":"ffb8b3b425a669a8c63ae2b0f1742d36f370f0c9","user":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"repo":{"id":33383826,"node_id":"MDEwOlJlcG9zaXRvcnkzMzM4MzgyNg==","name":"dockstore","full_name":"ga4gh/dockstore","owner":{"login":"ga4gh","id":6921777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MjE3Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6921777?v=4","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga4gh/dockstore","description":"Our VM/Docker sharing infrastructure and management component","fork":false,"url":"https://api.github.com/repos/ga4gh/dockstore","forks_url":"https://api.github.com/repos/ga4gh/dockstore/forks","keys_url":"https://api.github.com/repos/ga4gh/dockstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga4gh/dockstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga4gh/dockstore/teams","hooks_url":"https://api.github.com/repos/ga4gh/dockstore/hooks","issue_events_url":"https://api.github.com/repos/ga4gh/dockstore/issues/events{/number}","events_url":"https://api.github.com/repos/ga4gh/dockstore/events","assignees_url":"https://api.github.com/repos/ga4gh/dockstore/assignees{/user}","branches_url":"https://api.github.com/repos/ga4gh/dockstore/branches{/branch}","tags_url":"https://api.github.com/repos/ga4gh/dockstore/tags","blobs_url":"https://api.github.com/repos/ga4gh/dockstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga4gh/dockstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga4gh/dockstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga4gh/dockstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga4gh/dockstore/statuses/{sha}","languages_url":"https://api.github.com/repos/ga4gh/dockstore/languages","stargazers_url":"https://api.github.com/repos/ga4gh/dockstore/stargazers","contributors_url":"https://api.github.com/repos/ga4gh/dockstore/contributors","subscribers_url":"https://api.github.com/repos/ga4gh/dockstore/subscribers","subscription_url":"https://api.github.com/repos/ga4gh/dockstore/subscription","commits_url":"https://api.github.com/repos/ga4gh/dockstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga4gh/dockstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga4gh/dockstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga4gh/dockstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga4gh/dockstore/contents/{+path}","compare_url":"https://api.github.com/repos/ga4gh/dockstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga4gh/dockstore/merges","archive_url":"https://api.github.com/repos/ga4gh/dockstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga4gh/dockstore/downloads","issues_url":"https://api.github.com/repos/ga4gh/dockstore/issues{/number}","pulls_url":"https://api.github.com/repos/ga4gh/dockstore/pulls{/number}","milestones_url":"https://api.github.com/repos/ga4gh/dockstore/milestones{/number}","notifications_url":"https://api.github.com/repos/ga4gh/dockstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga4gh/dockstore/labels{/name}","releases_url":"https://api.github.com/repos/ga4gh/dockstore/releases{/id}","deployments_url":"https://api.github.com/repos/ga4gh/dockstore/deployments","created_at":"2015-04-03T21:34:05Z","updated_at":"2018-08-03T20:12:24Z","pushed_at":"2018-08-07T13:33:56Z","git_url":"git://github.com/ga4gh/dockstore.git","ssh_url":"git@github.com:ga4gh/dockstore.git","clone_url":"https://github.com/ga4gh/dockstore.git","svn_url":"https://github.com/ga4gh/dockstore","homepage":"https://dockstore.org/","size":19397,"stargazers_count":52,"watchers_count":52,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":314,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":314,"watchers":52,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685"},"html":{"href":"https://github.com/ga4gh/dockstore/pull/1685"},"issue":{"href":"https://api.github.com/repos/ga4gh/dockstore/issues/1685"},"comments":{"href":"https://api.github.com/repos/ga4gh/dockstore/issues/1685/comments"},"review_comments":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685/comments"},"review_comment":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga4gh/dockstore/pulls/1685/commits"},"statuses":{"href":"https://api.github.com/repos/ga4gh/dockstore/statuses/034758c19ba39e1dc589592b6ff54d2cfe85363a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"garyluu"}}