Setting up GitLab OAuth 2.0 credentials for 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.
Avant de commencer
Role required: admin
Pourquoi et quand exécuter cette tâche
Configure GitLab as an OAuth 2.0 authentication identity provider. For more information, see GitLab documentation.
Procédure
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.
Avant de commencer
Role required: admin
Procédure
Create a credential record for GitLab App provider (Authorization Code)
Create a credential record for the GitLab App provider previously created to authorize actions.
Avant de commencer
Role required: admin