github-education-resources / classroom-assistant

Clone student repositories in bulk
https://classroom.github.com/assistant
MIT License
116 stars 39 forks source link

Cannot login "There was a problem authenticating with GitHub, please try again" #187

Open igormcoelho opened 4 years ago

igormcoelho commented 4 years ago

Hello, my first time using assistant, and I get this message: "There was a problem authenticating with GitHub, please try again". I've tried several times already... any other way to fix this?

I use linux: classroom-assistant_2.0.2_amd64

Then "You are being redirected to the authorized application. If your browser does not redirect you back, please click here to continue."

No strange message on terminal.

" $ classroom-assistant (electron) 'getName function' is deprecated and will be removed. Please use 'name property' instead. [14:23:56.173] [warn] Failed to set Protocol Handler on Linux: Error: Command failed: xdg-settings set default-url-scheme-handler x-github-classroom classroom-assistant.desktop xdg-settings: unknown desktop environment

[14:23:56.177] [info] creating app window (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 [14:23:56.247] [info] starting auto-updater [14:23:56.248] [info] checking for updates.. [14:23:56.805] [info] GA Track Screen: index "

jeffrafter commented 3 years ago

Can you confirm that this is still happening? I am working on a new version and there were (potentially) some issues with Mac OS Big Sur.

thomas-schuster commented 3 years ago

Just used release 2.0.3 (currently latest) and experienced the same issue.

As OS, I am using kubuntu 20.04.02 LTS.

thomas-schuster commented 3 years ago

I just recognized that this is related to #186.

The fix suggested by @dranidis also worked for me kde. Obviously I also had to fix a mimetype setting (as described here)