desktop: cannot redirect back to Desktop Client after signing into Github account on browser
Describe the bug
See title.
Version & OS
App image of Desktop 2.6.1 for linux, OS is Ubuntu 18.04.5 LTS
Steps to reproduce the behavior
- Use Brave Version 1.2.43 as default browser.
- Open App Image
- Click “Sign into Github.com”
- Get redirect to Brave, turn off the shield and sign in
- Get prompt “Open xdg-open?” Click “open xdg-open”
- nothing happens, the Desktop client gets stuck in loading state waiting for signing in
Expected behavior
I expect to be redirected back to desktop client and get signed in smoothly.
Actual behavior
Nothing happens.
Logs
2021-01-17T06:32:52.998Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:32:53.090Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:34:32.934Z - info: [ui] [AppStore] loading 0 repositories from store
2021-01-17T06:34:32.964Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:34:33.036Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:34:33.064Z - info: [ui] launching: 2.6.1-linux2 (Linux 5.4.0-56-generic)
2021-01-17T06:34:33.064Z - info: [ui] execPath: '/tmp/.mount_GitHubVCrhim/github-desktop'
2021-01-17T06:34:33.067Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:34:33.179Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:34:33.186Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:34:34.981Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:34:34.987Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:34:34.997Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=d85a3e59-2b97-46fb-900d-b220b8bdce36
2021-01-17T06:34:35.003Z - info: [ui] [Welcome] current sign in state not found. ignoring...
2021-01-17T06:34:35.501Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:34:35.534Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:02.224Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:02.284Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:04.613Z - info: [ui] [Welcome] advancing to step: Start
2021-01-17T06:35:14.636Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:35:14.668Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:35:14.671Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=93cfec8a-c8ac-47c5-9e64-3bc8f4aee4c5
2021-01-17T06:35:14.672Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:14.884Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:14.934Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:23.214Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:23.334Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:24.772Z - info: [ui] [Welcome] advancing to step: Start
2021-01-17T06:35:27.923Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:35:28.050Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:35:30.254Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:35:30.336Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:35:31.352Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:35:31.355Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:35:31.359Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=a1e2e83e-4647-4be1-ad98-c06ce42b66f8
2021-01-17T06:35:31.360Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:31.668Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:31.700Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:54.117Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:54.158Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:56.958Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:35:56.991Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:04.455Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:04.567Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:06.204Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:06.282Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:21.456Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:21.499Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:28.121Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:28.215Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:37.152Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:37.232Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:41.105Z - info: [ui] [Welcome] advancing to step: Start
2021-01-17T06:36:42.204Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:36:42.213Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:36:42.222Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=d36547f7-2a4e-4efe-9f58-ed0264f19eeb
2021-01-17T06:36:42.227Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:42.652Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:42.672Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:48.352Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:36:48.381Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:37:04.975Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:37:05.083Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:37:17.196Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:37:17.223Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:37:50.121Z - info: [ui] [AppStore] loading 0 repositories from store
2021-01-17T06:37:50.159Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:37:50.257Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:37:50.300Z - info: [ui] launching: 2.6.1-linux2 (Linux 5.4.0-56-generic)
2021-01-17T06:37:50.300Z - info: [ui] execPath: '/tmp/.mount_GitHubmQDN6N/github-desktop'
2021-01-17T06:37:50.304Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:37:50.416Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:37:50.470Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:37:52.402Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:37:52.404Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:37:52.408Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=fef93a93-b6da-4a30-8d66-0a3a2883870e
2021-01-17T06:37:52.410Z - info: [ui] [Welcome] current sign in state not found. ignoring...
2021-01-17T06:37:52.824Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:37:52.913Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:00.012Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:00.055Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:03.860Z - info: [ui] [Welcome] advancing to step: Start
2021-01-17T06:38:04.666Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:38:04.673Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:38:04.680Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=65465b5a-46af-4916-803d-3f9f5d397fa0
2021-01-17T06:38:04.682Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:05.008Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:05.056Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:20.265Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:20.355Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:21.673Z - info: [ui] [Welcome] advancing to step: Start
2021-01-17T06:38:22.441Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:38:22.451Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:38:22.461Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=7ecafdf3-f31d-4ca3-8fed-fe5fc1b1f487
2021-01-17T06:38:22.465Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:22.824Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:22.873Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:29.980Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:30.088Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:38:31.794Z - info: [ui] [Welcome] advancing to step: ConfigureGit
2021-01-17T06:38:48.787Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:38:48.879Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:44:50.370Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:44:50.399Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:45:07.764Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:45:07.789Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:45:16.697Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:45:16.724Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:45:36.276Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:45:36.319Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:48:56.135Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:48:56.257Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:49:07.945Z - info: [ui] [Welcome] advancing to step: Start
2021-01-17T06:49:16.249Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:49:16.283Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:49:16.287Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=91d51d87-f5f1-4b77-9038-596fcf0b75e2
2021-01-17T06:49:16.289Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:49:16.567Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:49:16.631Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:49:21.904Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:49:21.964Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:49:48.436Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:49:48.498Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:50:44.536Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:50:44.612Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:50:51.328Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:50:51.411Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:54:46.148Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:54:46.220Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:54:49.121Z - info: [ui] [Welcome] advancing to step: Start
2021-01-17T06:54:50.767Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:54:50.860Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:55:58.748Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:55:58.788Z - info: [ui] [Welcome] no sign in step found. ignoring...
2021-01-17T06:55:59.785Z - info: [ui] [Welcome] advancing to step: SignInToDotComWithBrowser
2021-01-17T06:55:59.790Z - info: [ui] [SignInStore] initializing OAuth flow
2021-01-17T06:55:59.796Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo%20user%20workflow&state=bc6b9692-0552-436b-9c85-328c19723b7c
2021-01-17T06:55:59.799Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:56:00.160Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:56:00.226Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:57:13.900Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:57:13.997Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:57:16.618Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:57:16.749Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:58:34.558Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:58:34.661Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:58:39.692Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:58:39.778Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:58:54.468Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:58:54.596Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:59:00.530Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
2021-01-17T06:59:00.612Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring...
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 10
- Comments: 31 (5 by maintainers)
Same issue here on Pop!_OS 20.10, is there a way to bypass and manually authenticate?
Same problem on Pop OS! Can’t even login directly from the app (without redirecting to browser). In logs:
2021-02-28T19:27:21.798Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring… 2021-02-28T19:27:21.832Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring… 2021-02-28T19:28:17.502Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring… 2021-02-28T19:28:17.525Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring… 2021-02-28T19:28:19.458Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring… 2021-02-28T19:28:19.477Z - info: [ui] [Welcome] kind Authentication is the same as Authentication. ignoring…
Need to install the correct MIME type. It correctly installs
but it dosnt have
which is what the oauth is returning.
@thwaller cool, sounds like we’ve got some cases that are not the AppImage (and just PopOS being out of date) so it’s hard to keep this focused on that area.
had this issue too on ubuntu 20.04, upgraded to latest pre-release (2.6.3) and the issue has gone away
i think thats the limitation of appimages , the Browser is expecting GitHub Desktop to be installed as a traditional package and not as an appimage , that’s why you have to specify the appimage