Skip to content

Allow importing from Github using Personal Access Tokens

Originally opened at !4005 (closed) by @ericidema.


What does this MR do?

  • Made changes to Gitlab::GithubImport::Client so that it can be used with Github Personal Access Tokens without the need for OAuth.
  • Added UI to collect Personal Access Token from user.
  • Detect if the user has logged in with GitHub and use OAuth to skip the Personal Access Token form.

Are there points in the code the reviewer needs to double check?

Twin Omnibus MR: https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/774

What are the relevant issue numbers?

Closes #13970 (closed).

Screenshots

GitHub import is configured

github_import_configured


GitHub import is not configured

github_import_not_configured


Does this MR meet the acceptance criteria?

Merge request reports