-
- Downloads
Allow OAuth clients to push code
- We currently support fetching code with username = 'oauth2' and password = <access_token>. - Trying to _push_ code with the same credentials fails with an authentication error. - There's no reason this shouldn't be enabled, especially since we allow the OAuth client to create deploy keys with push access: https://docs.gitlab.com/ce/api/deploy_keys.html#add-deploy-key
Showing
- changelogs/unreleased/30305-oauth-token-push-code.yml 4 additions, 0 deletionschangelogs/unreleased/30305-oauth-token-push-code.yml
- lib/gitlab/auth.rb 1 addition, 1 deletionlib/gitlab/auth.rb
- spec/lib/gitlab/auth_spec.rb 1 addition, 1 deletionspec/lib/gitlab/auth_spec.rb
- spec/requests/git_http_spec.rb 2 additions, 2 deletionsspec/requests/git_http_spec.rb
Please register or sign in to comment