Skip to content

Show helpful explanation when opening a workspace and the git provider integration is missing #4696

Closed
@shaal

Description

@shaal

@jldec Dec 1, 2021
I changed the title of this issue so that we can track the work on fixing the error popup
we are tracking the change to the login page in #6826

Bug description

When an anonymous user starts a Gitpod workspace of a project that is hosted on Github, they would get this generic login page (which is misleading)
image

They have 3 choices, but in reality they should only click on "Continue with Github" (because the repo is hosted on Github). Otherwise, the user would end up getting this error screen -

Screenshot 2021-12-01 at 18 06 52

Steps to reproduce

  1. Go to https://gitpod.io/integrations, make sure Github is NOT connected.
  2. Sign out of Gitpod.
  3. Open a repo that is hosted in Github (ie. https://gitpod.io/#https://github.com/shaal/DrupalPod)
  4. When the login page shows up - click on "Continue with Gitlab"
  5. Confirm you see the error page, that tells you to authorize with Github

Expected behavior

When the user open a Gitpod workspace link, and need to authorize Gitpod, only the relevant option should be displayed, the other options are misleading.
(Gitpod workspace project hosted on Github - should only display "Continue with Github" when the login screen shows up)

Example repository

(any repo)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In Validation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions