Skip to content

Enable NPM packages with deploy token access

Steve Abrams requested to merge 213566-deploy-token-npm into master

What does this MR do?

We are adding two new scopes to deploy tokens to allow users to push and pull packages. This MR updates the newly introduced deploy token API auth flow to allow a deploy token to be passed using the NPM standard header Authorization: Bearer <token> (Oauth) format.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related #213566 (closed)

Edited by Steve Abrams

Merge request reports