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

Stuck on "You are being redirected to the authorized application" page #1011

Closed
YukiXXL opened this issue Feb 13, 2024 · 3 comments
Closed
Labels
installers/deb Issues related to the Debian installer login-flow Tracking problems related to login flow

Comments

@YukiXXL
Copy link

YukiXXL commented Feb 13, 2024

The problem

Everytime after singing-in and re-authorizing the app, I am stuck on a page that simply sas:

You are being redirected to the authorized application.

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

Nothing is happening. No open dialogue pop-up. Clicking the link does nothing.
The link is: x-github-desktop-dev-auth://oauth?code=<numbers/letters>&state=<numbers/letters>

Release version

3.3.8 Linux RC2

Operating system

Debian 12 Stable

Steps to reproduce the behavior

  1. Download the "GitHubDesktop-linux-amd64-3.3.8-linux2.deb"
  2. Install it.
  3. Select "Sign in to Github.com"
  4. Authorize the app
  5. ...

Log files

No response

Screenshots

No response

Additional context

Using Firefox ESR 115.7. Tried on Firefox 122.0.1 and still the same problem.

Tried using mimetype fix that I found here and didn't help. Tried the AppImage workaround that said to run the app in terminal as 'github-desktop "URL" ' and it didn't help.

@enobis-dev
Copy link

Same exact problem on EdeavourOS using the AppImage

@shiftkey
Copy link
Owner

The link is: x-github-desktop-dev-auth://oauth?code=<numbers/letters>&state=<numbers/letters>

This is the schema that the app registers to acknowledge it can handle this protocol handler:

// see https://github.com/shiftkey/desktop/issues/72 for more details
'x-scheme-handler/x-github-desktop-dev-auth',

I'm not sure how this is broken for your machine, but I've heard some anecdotes about Firefox having issues that I've not been able to fully understand given this is part of the package.

Same exact problem on EdeavourOS using the AppImage

I also configure these the same for AppImage but I don't seem to understand how to resolve these issues from within the package:

# see https://github.com/shiftkey/desktop/issues/72 for more details
- x-scheme-handler/x-github-desktop-dev-auth

Various folks have suggested workarounds and hacks to the package itself, and if there's a fix that I can incorporate I'd be open to figuring that out.

@shiftkey shiftkey added login-flow Tracking problems related to login flow installers/deb Issues related to the Debian installer labels Feb 25, 2024
@YukiXXL
Copy link
Author

YukiXXL commented Apr 18, 2024

I have found a solution. I needed to associate github.desktop application with 'x-scheme-handler/x-github-desktop-dev-auth'. I used the command:
xdg-mime default github-desktop.desktop x-scheme-handler/x-github-desktop-dev-auth

@YukiXXL YukiXXL closed this as completed Apr 18, 2024
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 login-flow Tracking problems related to login flow
Projects
None yet
Development

No branches or pull requests

3 participants