-
- Downloads
Merge branch 'fix-broken-new-project-import' into 'master'
Fix OAuth2 issue importing a new project from GitHub and GitLab It appears that the GitLab OAuth2 client options were converted to strings instead of symbols when merged with the default options (i.e. `{}.merge(github_options)`). As a result, the OAuth2 defaults were being used. For example, the OAuth2 client options would have a key with `authorize_url` and `:authorize_url`, but the former was never used. As a result, the OAuth2 client would always use the wrong URL to talk to GitHub. Note that this bug should also have affected GitLab, but not Bitbucket: The OAuth client is careful to convert all keys to symbols. Closes #1268 See merge request !425
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- lib/gitlab/bitbucket_import/client.rb 2 additions, 2 deletionslib/gitlab/bitbucket_import/client.rb
- lib/gitlab/github_import/client.rb 1 addition, 1 deletionlib/gitlab/github_import/client.rb
- lib/gitlab/gitlab_import/client.rb 1 addition, 1 deletionlib/gitlab/gitlab_import/client.rb
- spec/lib/gitlab/bitbucket_import/client_spec.rb 17 additions, 0 deletionsspec/lib/gitlab/bitbucket_import/client_spec.rb
- spec/lib/gitlab/github_import/client_spec.rb 16 additions, 0 deletionsspec/lib/gitlab/github_import/client_spec.rb
- spec/lib/gitlab/gitlab_import/client_spec.rb 16 additions, 0 deletionsspec/lib/gitlab/gitlab_import/client_spec.rb
spec/lib/gitlab/github_import/client_spec.rb
0 → 100644
spec/lib/gitlab/gitlab_import/client_spec.rb
0 → 100644
Please register or sign in to comment