{"action":"created","issue":{"url":"https://api.github.com/repos/atom/github/issues/1346","repository_url":"https://api.github.com/repos/atom/github","labels_url":"https://api.github.com/repos/atom/github/issues/1346/labels{/name}","comments_url":"https://api.github.com/repos/atom/github/issues/1346/comments","events_url":"https://api.github.com/repos/atom/github/issues/1346/events","html_url":"https://github.com/atom/github/issues/1346","id":304136493,"number":1346,"title":"Github tab token login button no response after update to 1.24.1","user":{"login":"HaoyangFan","id":22490077,"avatar_url":"https://avatars3.githubusercontent.com/u/22490077?v=4","gravatar_id":"","url":"https://api.github.com/users/HaoyangFan","html_url":"https://github.com/HaoyangFan","followers_url":"https://api.github.com/users/HaoyangFan/followers","following_url":"https://api.github.com/users/HaoyangFan/following{/other_user}","gists_url":"https://api.github.com/users/HaoyangFan/gists{/gist_id}","starred_url":"https://api.github.com/users/HaoyangFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaoyangFan/subscriptions","organizations_url":"https://api.github.com/users/HaoyangFan/orgs","repos_url":"https://api.github.com/users/HaoyangFan/repos","events_url":"https://api.github.com/users/HaoyangFan/events{/privacy}","received_events_url":"https://api.github.com/users/HaoyangFan/received_events","type":"User","site_admin":false},"labels":[{"id":286513216,"url":"https://api.github.com/repos/atom/github/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-11T07:14:12Z","updated_at":"2018-03-14T04:28:14Z","closed_at":"2018-03-11T15:40:26Z","author_association":"NONE","body":"<!--\r\n\r\nHave you read Atom's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/atom/atom/blob/master/CODE_OF_CONDUCT.md\r\n\r\nDo you want to ask a question? Are you looking for support? The Atom message board is the best place for getting support: https://discuss.atom.io\r\n\r\n-->\r\n\r\n### Prerequisites\r\n\r\n* Have you tried to reproduce the problem in [Safe Mode][safe-mode]?\r\n* Have you followed all applicable steps in the [debugging guide][debugging-guide]?\r\n* Have you checked the FAQs on the [message board][message-board] for common solutions?\r\n* Have you checked that your issue [isn't already filed][already-filed]?\r\n\r\n[safe-mode]: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode\r\n[debugging-guide]: http://flight-manual.atom.io/hacking-atom/sections/debugging/\r\n[message-board]: https://discuss.atom.io/c/faq\r\n[already-filed]: https://github.com/atom/github/issues\r\n\r\n### Description\r\n\r\nI also get very similar issue as described in [#16924](https://github.com/atom/atom/issues/16924)\r\nwhen I try to toggle git tab, it asks me to enter the token generated from https://github.atom.io/auth/github_package/token. However, after I copy-paste the token, when I click on the `login` button, there is no response at all. \r\nI am using\r\n`MacOS 10.13.3` \r\n`atom 1.24.1 x 64`\r\n`apm  1.18.12`\r\n\r\nI can use git via atom without any error before atom updates to 1.24.1. \r\n\r\nI also get error message:\r\n`Uncaught Invariant Violation: RelayModernGraphQLTag: Expected an request, got {\"fragment\":{\"argumentDefinitions\":[{\"kind\":\"LocalArgument\",\"name\":\"repoOwner\",\"type\":\"String!\",\"defaultValue\":null},{\"kind\":\"LocalArgument\",\"name\":\"repoName\",\"type\":\"String!\",\"defaultValue\":null},{\"kind\":\"LocalArgument\",\"name\":\"branchName\",\"type\":\"String!\",\"defaultValue\":null}],\"kind\":\"Fragment\",\"metadata\":null,\"name\":\"PrInfoControllerByBranchQuery\",\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":[{\"kind\":\"Variable\",\"name\":\"name\",\"variableName\":\"repoName\",\"type\":\"String!\"},{\"kind\":\"Variable\",\"name\":\"owner\",\"variableName\":\"repoOwner\",\"type\":\"String!\"}],\"concreteType\":\"Repository\",\"name\":\"repository\",\"plural\":false,\"selections\":[{\"kind\":\"FragmentSpread\",\"name\":\"PrSelectionByBranchContainer_repository\",\"args\":null}],\"storageKey\":null}],\"type\":\"Query\"},\"id\":null,\"kind\":\"Batch\",\"metadata\":{},\"name\":\"PrInfoControllerByBranchQuery\",\"query\":{\"argumentDefinitions\":[{\"kind\":\"LocalArgument\",\"name\":\"repoOwner\",\"type\":\"String!\",\"defaultValue\":null},{\"kind\":\"LocalArgument\",\"name\":\"repoName\",\"type\":\"String!\",\"defaultValue\":null},{\"kind\":\"LocalArgument\",\"name\":\"branchName\",\"type\":\"String!\",\"defaultValue\":null}],\"kind\":\"Root\",\"name\":\"PrInfoControllerByBranchQuery\",\"operation\":\"query\",\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":[{\"kind\":\"Variable\",\"name\":\"name\",\"variableName\":\"repoName\",\"type\":\"String!\"},{\"kind\":\"Variable\",\"name\":\"owner\",\"variableName\":\"repoOwner\",\"type\":\"String!\"}],\"concreteType\":\"Repository\",\"name\":\"repository\",\"plural\":false,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":[{\"kind\":\"Literal\",\"name\":\"first\",\"value\":30,\"type\":\"Int\"},{\"kind\":\"Variable\",\"name\":\"headRefName\",\"variableName\":\"branchName\",\"type\":\"String\"}],\"concreteType\":\"PullRequestConnection\",\"name\":\"pullRequests\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"totalCount\",\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"PullRequestEdge\",\"name\":\"edges\",\"plural\":true,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"PullRequest\",\"name\":\"node\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"createdAt\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"title\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"url\",\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":[{\"kind\":\"Literal\",\"name\":\"last\",\"value\":1,\"type\":\"Int\"}],\"concreteType\":\"PullRequestCommitConnection\",\"name\":\"commits\",\"plural\":false,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"PullRequestCommitEdge\",\"name\":\"edges\",\"plural\":true,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"PullRequestCommit\",\"name\":\"node\",\"plural\":false,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"Commit\",\"name\":\"commit\",\"plural\":false,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"Status\",\"name\":\"status\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"state\",\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"StatusContext\",\"name\":\"contexts\",\"plural\":true,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"state\",\"storageKey\":null},{\"kind\":\"InlineFragment\",\"type\":\"StatusContext\",\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"context\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"description\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"targetUrl\",\"storageKey\":null}]}],\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null}],\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null}],\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null}],\"storageKey\":null}],\"storageKey\":null}],\"storageKey\":\"commits{\\\"last\\\":1}\"},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"state\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"number\",\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":null,\"name\":\"author\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"__typename\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"login\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"avatarUrl\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null},{\"kind\":\"InlineFragment\",\"type\":\"Bot\",\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"url\",\"storageKey\":null}]},{\"kind\":\"InlineFragment\",\"type\":\"User\",\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"url\",\"storageKey\":null}]}],\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"Repository\",\"name\":\"repository\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"name\",\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":null,\"name\":\"owner\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"__typename\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"login\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null}],\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null}],\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"ReactionGroup\",\"name\":\"reactionGroups\",\"plural\":true,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"content\",\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"ReactingUserConnection\",\"name\":\"users\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"totalCount\",\"storageKey\":null}],\"storageKey\":null}],\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":\"commitsCount\",\"args\":null,\"concreteType\":\"PullRequestCommitConnection\",\"name\":\"commits\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"totalCount\",\"storageKey\":null}],\"storageKey\":null},{\"kind\":\"LinkedField\",\"alias\":null,\"args\":[{\"kind\":\"Literal\",\"name\":\"first\",\"value\":100,\"type\":\"Int\"}],\"concreteType\":\"LabelConnection\",\"name\":\"labels\",\"plural\":false,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"LabelEdge\",\"name\":\"edges\",\"plural\":true,\"selections\":[{\"kind\":\"LinkedField\",\"alias\":null,\"args\":null,\"concreteType\":\"Label\",\"name\":\"node\",\"plural\":false,\"selections\":[{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"name\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"color\",\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null}],\"storageKey\":null}],\"storageKey\":null}],\"storageKey\":\"labels{\\\"first\\\":100}\"}],\"storageKey\":null}],\"storageKey\":null}],\"storageKey\":null},{\"kind\":\"ScalarField\",\"alias\":null,\"args\":null,\"name\":\"id\",\"storageKey\":null}],\"storageKey\":null}]},\"text\":\"query PrInfoControllerByBranchQuery(\\n $repoOwner: String!\\n $repoName: String!\\n $branchName: String!\\n) {\\n repository(owner: $repoOwner, name: $repoName) {\\n ...PrSelectionByBranchContainer_repository\\n id\\n }\\n}\\n\\nfragment PrSelectionByBranchContainer_repository on Repository {\\n pullRequests(first: 30, headRefName: $branchName) {\\n totalCount\\n edges {\\n node {\\n id\\n number\\n title\\n url\\n ...PrInfoContainer_pullRequest\\n }\\n }\\n }\\n}\\n\\nfragment PrInfoContainer_pullRequest on PullRequest {\\n ...PrStatusesContainer_pullRequest\\n id\\n url\\n number\\n title\\n state\\n createdAt\\n author {\\n __typename\\n login\\n avatarUrl\\n ... on User {\\n url\\n }\\n ... on Bot {\\n url\\n }\\n ... on Node {\\n id\\n }\\n }\\n repository {\\n name\\n owner {\\n __typename\\n login\\n id\\n }\\n id\\n }\\n reactionGroups {\\n content\\n users {\\n totalCount\\n }\\n }\\n commitsCount: commits {\\n totalCount\\n }\\n labels(first: 100) {\\n edges {\\n node {\\n name\\n color\\n id\\n }\\n }\\n }\\n}\\n\\nfragment PrStatusesContainer_pullRequest on PullRequest {\\n id\\n commits(last: 1) {\\n edges {\\n node {\\n commit {\\n status {\\n state\\n contexts {\\n id\\n state\\n ...PrStatusContextContainer_context\\n }\\n id\\n }\\n id\\n }\\n id\\n }\\n }\\n }\\n}\\n\\nfragment PrStatusContextContainer_context on StatusContext {\\n context\\n description\\n state\\n targetUrl\\n}\\n\"}.\r\n`\r\nin\r\n`/Applications/Atom.app/Contents/Resources/app/node_modules/fbjs/lib/invariant.js:49\r\n`\r\n\r\n### Steps to Reproduce\r\n\r\n1. toggle github tab\r\n2. get authorization token from https://github.atom.io/auth/github_package/token\r\n3. click on login button\r\n\r\n**Expected behavior:**\r\n\r\nlet me login to github\r\n\r\n**Actual behavior:**\r\n\r\nno response no matter when I click on the login button\r\n\r\n**Reproduces how often:**\r\n\r\n[What percentage of the time does this happen?]\r\n\r\n### Versions\r\n\r\napm  1.18.12\r\nnpm  3.10.10\r\nMacOS 10.13.3\r\n\r\n### Additional Information\r\n\r\nI can use git via atom without any error before atom updates to 1.24.1. \r\n\r\n\r\nIf your issue involves a repository, and that repository is public, please include a link to it.\r\n"},"comment":{"url":"https://api.github.com/repos/atom/github/issues/comments/372900937","html_url":"https://github.com/atom/github/issues/1346#issuecomment-372900937","issue_url":"https://api.github.com/repos/atom/github/issues/1346","id":372900937,"user":{"login":"import-antigravity","id":24441495,"avatar_url":"https://avatars2.githubusercontent.com/u/24441495?v=4","gravatar_id":"","url":"https://api.github.com/users/import-antigravity","html_url":"https://github.com/import-antigravity","followers_url":"https://api.github.com/users/import-antigravity/followers","following_url":"https://api.github.com/users/import-antigravity/following{/other_user}","gists_url":"https://api.github.com/users/import-antigravity/gists{/gist_id}","starred_url":"https://api.github.com/users/import-antigravity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/import-antigravity/subscriptions","organizations_url":"https://api.github.com/users/import-antigravity/orgs","repos_url":"https://api.github.com/users/import-antigravity/repos","events_url":"https://api.github.com/users/import-antigravity/events{/privacy}","received_events_url":"https://api.github.com/users/import-antigravity/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T04:28:14Z","updated_at":"2018-03-14T04:28:14Z","author_association":"NONE","body":"I have version 1.24.1 and it's still not working..."}}
{"actor":{"display_login":"import-antigravity"}}