Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • gitlab-ce
  • Repository
  • gitlab-ce
  • spec
  • controllers
  • import
  • github_controller_spec.rb
Find file BlameHistoryPermalink
  • Stan Hu's avatar
    Allow GitHub imports via token even if OAuth2 provider not configured · b4e26794
    Stan Hu authored Dec 10, 2018
    Previously, the GitHub importer would only work if the site configured
    an OAuth2 provider were configured. Users attempting to import via a
    GitHub personal access token would see an Error 500 due to a failed
    redirection. We fix this by only doing the redirection if the provider
    has been configured and allowing users to see the new import page.
    
    Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/38524
    b4e26794
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7