mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
Update GitLab credentials to template, remove old gifs
This commit is contained in:
parent
9faddee8ad
commit
ce604d8ea4
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 626 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1022 KiB |
@ -13,39 +13,28 @@ You can use these credentials to authenticate the following nodes with GitLab.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Create a [GitLab](https://gitlab.com/) account.
|
||||
Create a [GitLab](https://gitlab.com/){:target=_blank .external-link} account.
|
||||
|
||||
## Using OAuth
|
||||
## Supported authentication methods
|
||||
|
||||
- API access token
|
||||
- OAuth2
|
||||
|
||||
## Related resources
|
||||
|
||||
Refer to [GitLab's API documentation](https://docs.gitlab.com/ee/api/rest/){:target=_blank .external-link} for more information about the service.
|
||||
|
||||
## Using API access token
|
||||
|
||||
To configure this credential, you'll need:
|
||||
|
||||
- The URL of your **GitLab Server**
|
||||
- An **Access Token**: Refer to GitLab's [Create a personal access token documentation](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token){:target=_blank .external-link} for detailed instructions.
|
||||
|
||||
## Using OAuth2
|
||||
|
||||
/// note | Note for n8n Cloud users
|
||||
You'll only need to enter the Credentials Name and click on the circle button in the OAuth section to connect your GitLab account to n8n.
|
||||
You'll only need to enter the Credentials Name and select the **Connect my account** button in the OAuth credential to connect your _Name_ account to n8n.
|
||||
///
|
||||
|
||||
1. Access your GitLab dashboard.
|
||||
2. Click on your user icon in the top right.
|
||||
3. Click on 'Settings'.
|
||||
4. Click on 'Applications' in the sidebar.
|
||||
5. Enter a name in the ***Name*** field.
|
||||
6. Copy the 'OAuth Callback URL' provided in the 'GitLab OAuth2 API' credentials in n8n and paste it in the ***Redirect URI*** field in the GitLab app creation page.
|
||||
7. Select any scopes you plan to use and then click on ***Save application***.
|
||||
8. Use the ***Application ID*** and ***Secret*** with your GitLab OAuth2 API credentials in n8n.
|
||||
9. Click on the circle button in the OAuth section to connect a GitLab account to n8n.
|
||||
10. Click on the ***Save*** button to save your credentials.
|
||||
|
||||

|
||||
|
||||
|
||||
## Using Access Token
|
||||
|
||||
1. Access your GitLab dashboard.
|
||||
2. Click on your user icon in the top right.
|
||||
3. Click on 'Settings'.
|
||||
4. Click on 'Access Tokens' in the sidebar.
|
||||
5. Enter a name in the ***Name*** field.
|
||||
6. Fill out the required information to receive the access token.
|
||||
7. Select any scopes you plan to use and then click on ***Create personal access token***.
|
||||
8. Use the generated access token with your GitLab node credentials in n8n.
|
||||
9. Click on the ***Save*** button to save your credentials.
|
||||
|
||||

|
||||
|
||||
Should you need to configure an application with OAuth2 from scratch or need more detail on what's happening in the OAuth web flow, refer to the information and instructions in the [GitLab OAuth 2.0 identity provider API documentation](https://docs.gitlab.com/ee/api/oauth2.html){:target=_blank .external-link}.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user