Setting up GitLab OAuth 2.0 credentials for DevOps
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- DevOps
Integrate your GitLab account with your ServiceNow instance by creating a custom OAuth application in GitLab and authenticating requests from ServiceNow DevOps.
Configure your GitLab account, register GitLab in the application registry, and create a credential record for the GitLab App provider.
Role required: oauth_admin.
Configure the GitLab App in your GitLab account (Authorization Code)
Create a custom GitLab App from your GitLab account to enable OAuth 2.0 authentication with your ServiceNow instance.
Before you begin
Role required: admin
About this task
Configure GitLab as an OAuth 2.0 authentication identity provider. For more information, see GitLab documentation.
Procedure
Register GitLab as an OAuth Provider (Authorization Code)
Use the information generated during GitLab App account configuration to register GitLab as an OAuth provider and allow the instance to request OAuth 2.0 tokens.
Before you begin
Role required: admin
Procedure
Create a credential record for GitLab App provider (Authorization Code)
Create a credential record to the GitLab App provider previously created to authorize actions.
Before you begin
Role required: admin
Procedure