1
0
Fork 0

Link to GitLab documentation for auth (#9833)

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
pull/9873/head
timrizzi 2021-05-04 07:05:05 -07:00 committed by GitHub
parent a04202aa7d
commit 6b7f795956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -223,6 +223,9 @@ composer config [--global] --editor --auth
> **Note:** For the gitlab authentication to work on private gitlab instances, the > **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. > [`gitlab-domains`](../06-config.md#gitlab-domains) section should also contain the url.
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. When creating a gitlab token manually, make sure it has either the `read_api` or `api` scope.
### Command line gitlab-token ### Command line gitlab-token