{"action":"opened","issue":{"url":"https://api.github.com/repos/ga4gh/dockstore/issues/1192","repository_url":"https://api.github.com/repos/ga4gh/dockstore","labels_url":"https://api.github.com/repos/ga4gh/dockstore/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/ga4gh/dockstore/issues/1192/comments","events_url":"https://api.github.com/repos/ga4gh/dockstore/issues/1192/events","html_url":"https://github.com/ga4gh/dockstore/issues/1192","id":300398073,"number":1192,"title":"Dockstore Should Specify How to Recreate Your GitHub Token","user":{"login":"coverbeck","id":1049340,"avatar_url":"https://avatars3.githubusercontent.com/u/1049340?v=4","gravatar_id":"","url":"https://api.github.com/users/coverbeck","html_url":"https://github.com/coverbeck","followers_url":"https://api.github.com/users/coverbeck/followers","following_url":"https://api.github.com/users/coverbeck/following{/other_user}","gists_url":"https://api.github.com/users/coverbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/coverbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coverbeck/subscriptions","organizations_url":"https://api.github.com/users/coverbeck/orgs","repos_url":"https://api.github.com/users/coverbeck/repos","events_url":"https://api.github.com/users/coverbeck/events{/privacy}","received_events_url":"https://api.github.com/users/coverbeck/received_events","type":"User","site_admin":false},"labels":[{"id":598879581,"url":"https://api.github.com/repos/ga4gh/dockstore/labels/gui2","name":"gui2","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T21:13:38Z","updated_at":"2018-02-26T21:13:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\r\n## Feature Request \r\n\r\nWhen I clicked the `Refresh All Workflows` button on the `My Workflows` page, I got an error that said: `[HTTP 400] Bad Request: Please recreate your GitHub token, we need an upgraded token to list your organizations.`. It was not apparent, to me at least, on how to recreate the GitHub token; I had assumed that logging out of Dockstore and then logging back in with GitHub would recreate the token, but it does not.\r\n\r\nTo recreate your GitHub token, you need to unlink your GitHub account on the Accounts page, then link it again.\r\n\r\n### Desired behaviour\r\n\r\nThe error message should clearly state what the user needs to do to recreate their GitHub token.\r\n\r\nSuggested wording: `Please recreate your GitHub token by unlinking then relinking your GitHub account on the Accounts page. We need an upgraded token to list your organizations.`\r\n"}}
{"actor":{"display_login":"coverbeck"}}