Commit 8a97231e authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch...

Merge branch '296611-update-package-managers-documentation-for-anonymous-requests-on-public-packages' into 'master'

Update npm documentation for anonymous requests on public packages

See merge request gitlab-org/gitlab!50890
parents 7445d88b 44caad9f
......@@ -94,7 +94,10 @@ Some features such as [publishing](#publish-an-npm-package) a package is only av
## Authenticate to the Package Registry
To authenticate to the Package Registry, you must use one of the following:
You must authenticate with the Package Registry when the project
is private. Public projects do not require authentication.
To authenticate, use one of the following:
- A [personal access token](../../../user/profile/personal_access_tokens.md)
(required for two-factor authentication (2FA)), with the scope set to `api`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment