Link to GitLab documentation for auth (#9833)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>pull/9873/head
parent
a04202aa7d
commit
6b7f795956
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue