GitLab credentials#
You can use these credentials to authenticate the following nodes:
- GitLab
Supported authentication methods#
- OAuth2
Related resources#
Refer to GitLab's API documentation for more information about the service.
Using OAuth2#
You'll need a GitLab account. Then create a new GitLab application:
- In GitLab, select your avatar, then select Edit profile.
- In the left sidebar, select Applications.
- Select Add new application.
- Enter a Name for your application, like
Easexpense integration
. - In Easexpense, copy the OAuth Redirect URL. Enter it as the GitLab Redirect URI.
- Select the desired Scopes. For the GitLab, use the
api
scope to easily grant access for all the functionality. Or refer to Personal access token scopes to select scopes for the functions you want to use. - Select Save application.
- Copy the Application ID and enter it as the Client ID in your Easexpense credential.
- Copy the Secret and enter it as the Client Secret in your Easexpense credential.
Refer to GitLab's Configure GitLab as an OAuth 2.0 authentication identity provider documentation for more information. Refer to the GitLab OAuth 2.0 identity provider API documentation for more information on OAuth2 and GitLab.