Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication fails because "x-github-desktop-dev-auth" URI scheme is not registered #1106

Open
celerizer opened this issue Jul 31, 2024 · 2 comments
Labels
installers/deb Issues related to the Debian installer

Comments

@celerizer
Copy link

The problem

Every time I install this program, authentication through the GitHub website is unable to complete because the URI scheme used to return to the Desktop program isn't registered to it.

I need to run this line on each install to get the website to return to the program and continue auth:

gio mime x-scheme-handler/x-github-desktop-dev-auth github-desktop.desktop

It might be useful to automatically register this URI scheme, or include a note in the FAQ that mentions this. Specifically, this screen and the associated hyperlink fails to do anything:

You are being redirected to the authorized application.

If your browser does not redirect you back, please visit this setup page to continue.

Release version

Version 3.3.12-linux2 (x64)

Operating system

Debian testing

Steps to reproduce the behavior

No response

Log files

No response

Screenshots

No response

Additional context

No response

@shiftkey
Copy link
Owner

shiftkey commented Aug 6, 2024

These should be listed in the for the deb package:

mimeType: [
'x-scheme-handler/x-github-client',
'x-scheme-handler/x-github-desktop-auth',
// workaround for handling OAuth flow until we figure out what we're doing
// with the development OAuth details
//
// see https://github.com/shiftkey/desktop/issues/72 for more details
'x-scheme-handler/x-github-desktop-dev-auth',
],

Which browser are you using? I've heard some weirdness with Firefox in the past but I'm not sure how exactly to connect these two together if that's the case...

@shiftkey shiftkey added the installers/deb Issues related to the Debian installer label Aug 6, 2024
@celerizer
Copy link
Author

celerizer commented Aug 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installers/deb Issues related to the Debian installer
Projects
None yet
Development

No branches or pull requests

2 participants