Skip to content

"Google Chrome OS can't open this page" when trying to log in using browser link #292

Closed

Description

Describe the bug

After reinstalling Linux on my Chromebook I installed GH Desktop and got the error "Google Chrome OS can't open this page" when I used the "Sign in to GitHub.com" link in Desktop. I was able to log in fine using the "Sign in to GitHub.com using your username and password" link. I got the same error after logging out and then trying to log back in using the "Sign in using your browser" link in the options menu.

Version and OS

Version 2.5.2-linux1, Debian 10.2 on an Acer Chromebook 15 (CB515-1HT-C2AE)

Steps to reproduce the behavior

  1. Run GitHub Desktop
  2. Click on "Sign in to GitHub.com" or "Sign in using your browser"
  3. See error

Expected behavior

  1. Chrome opens GitHub OAuth login tab
  2. Log into GitHub
  3. Redirected to GH Desktop

Actual behavior

  1. Chrome opens new tab named "Untitled", URL: "https://github.com/login/oauth/authorize?client_id=..."
  2. Black screen with pop-up "Google Chrome OS can't open this page."
  3. Click "Close", pop-up closes, tab stays open, not redirected to GH Desktop

Screenshots

image
image
image
Link is greyed out in GH Desktop, I wasn't redirected back to the app.

Logs

hastebin

Additional context

I removed what followed "client_id=" in the URL, I'm not entirely sure if I should have. I can provide it if needed.

Activity

  1. shiftkey commented on Jun 14, 2020

    @shiftkey
    Owner

    @airrocket thanks for the report. I believe this is the same problem as #138 but I'm not sure how to fix it as this seems to be related to how protocol handlers work.

    I'm going to bump this thread with that information but I'm not aware of an easy solution in this situation currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions