From 6b7f7959564dc28db483997f59ba7210beb0e202 Mon Sep 17 00:00:00 2001 From: timrizzi Date: Tue, 4 May 2021 07:05:05 -0700 Subject: [PATCH] Link to GitLab documentation for auth (#9833) Co-authored-by: Jordi Boggiano --- doc/articles/authentication-for-private-packages.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/articles/authentication-for-private-packages.md b/doc/articles/authentication-for-private-packages.md index b722df236..bbc21ee0d 100644 --- a/doc/articles/authentication-for-private-packages.md +++ b/doc/articles/authentication-for-private-packages.md @@ -223,7 +223,10 @@ composer config [--global] --editor --auth > **Note:** For the gitlab authentication to work on private gitlab instances, the > [`gitlab-domains`](../06-config.md#gitlab-domains) section should also contain the url. -When creating a gitlab token manually, make sure it has either the `read_api` or `api` scope. +To create a new access token, go to your [access tokens section on GitLab](https://gitlab.com/-/profile/personal_access_tokens) +(or the equivalent URL on your private instance) and create a new token. See also [the GitLab access token documentation](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token) for more informations. + +When creating a gitlab token manually, make sure it has either the `read_api` or `api` scope. ### Command line gitlab-token