Login error
See original GitHub issueDescribe the bug
When I want to login to GitHub, application opens Firefox and Firefox writes (in Czech): English translation: Address not recognized: An error occurred while connecting to github.com. You may need to install additional software to open this address.
Version & OS
Open ‘About GitHub Desktop’ menu to see the Desktop version. Also include what operating system you are using.
Version: 2.5.4-linux1 OS: Linux Mint 20 - Cinnamon
Steps to reproduce the behavior
- Go to
File
->Options...
->Accounts
->GitHub.com
->Sign in
- Now it opens Firefox and you see the error
Expected behavior
It shows login form to GitHub
Actual behavior
Application opened Firefox with error.
Logs
Attach your logs by opening the Help
menu and selecting Show Logs...
, if applicable.
2021-01-03T13:21:37.346Z - info: [ui] [SignInStore] initializing OAuth flow 2021-01-03T13:21:37.363Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo user workflow&state=e53dcfa5-821e-427c-b6ad-55d138f5efac
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top GitHub Comments
@pervoj we rely on
MimeType
configuration value in the.desktop
file to signal to the browser to launch our app:https://github.com/shiftkey/desktop/blob/a63a8655b42165230dac3b01ca5ea5eceb7f8e38/script/package-debian.ts#L67-L75
And that should be present after installation:
I’ve assumed this works fine (I’m on Firefox on Ubuntu) and it hasn’t changed in several releases (
2.4.1-linux2
was when I last changed this packaging, but we were using the same approach as before). So I’m kinda stumped on what else to try with your setup to understand the root cause.@yonderbread please open a new bug report and fill out the template so we can handle that separate to this discussion.
Closing this out as I don’t think there’s anything left to investigate around this 🤷🏻