Link to GitLab documentation for auth (#9833)

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
main
timrizzi 3 years ago committed by GitHub
parent a04202aa7d
commit 6b7f795956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save