Github: Can't login to GitHub from Atom

Created on 15 Mar 2018  路  3Comments  路  Source: atom/github

Prerequisites

Description

Hi, I'm not able to login to the GitHub via the GitHub panel in Atom. I click the link (github.atom.io/login) to generate the token, copy that token from the website and paste it into the token field via ctrl+v (there's no right-click option, which is documented in #899). All that works fine, the issue is when I click the login button, nothing happens. I've tried to troubleshoot this several ways:

  • The project I initially tried this in belongs to an organization I'm a member of; to ensure there wasn't a permissions issue (not sure if this would matter, but figured I'd try anyway), I tried the same procedure documented above in a project that I'm the sole owner of. Still no luck.
  • I tried uninstalling Atom then reinstalling it. At this point I hadn't done anything with my User Profile, so I'm not sure if this would've fixed anything, but I tried it anyway.
  • Per the debugging guide, I tried using Safe Mode, clearing saved state, and resetting to factory defaults, none of which made a difference. I checked for linked packages; I have none. Lastly, I opened Chrome Developer Tools, went to the console and saw the following error: ":267311 Uncaught (in promise) Error: RelayModernGraphQLTag". There's a lot more there (looks mostly like JSON and references to module locations but I'm no expert) but I wasn't sure if I needed to scrub the log for PII before uploading it. The 267311 listed above refers to invariant.js.

Steps to Reproduce

  1. Click the link (github.atom.io/login) to generate the token
  2. Copy that token from the website and paste it into the token field
  3. Click login button, nothing happens

Expected behavior:

[What did you expect to happen?]

That I would be logged into GitHub.

[What actually happened instead?]

Nothing.

[What percentage of the time does this happen?]

100% of the time.

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Atom : 1.24.1
Electron: 1.6.16
Chrome : 56.0.2924.87
Node : 7.4.0

Windows: Windows 10 Enterprise 2016 LTSB

Additional Information

Please include any additional information, configuration or data that might be necessary to reproduce the issue. Screenshots, if appropriate, are helpful as well.

If your issue involves a repository, and that repository is public, please include a link to it.

duplicate

Most helpful comment

still doesn't work

apm 2.1.2
npm 6.2.0
node 8.9.3 x64
atom 1.32.2
python 2.7.15
git 2.19.0

All 3 comments

Thanks for contributing!

We noticed that this is a duplicate of https://github.com/atom/github/issues/1340 which was fixed in https://github.com/atom/github/pull/1344 - the fix will be available in an upcoming release.


Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

still doesn't work

apm 2.1.2
npm 6.2.0
node 8.9.3 x64
atom 1.32.2
python 2.7.15
git 2.19.0

@mcnabb0303 - please open a new issue with the issue template filled out and we'll take a look.

Was this page helpful?
0 / 5 - 0 ratings