OAuth 2.0 credentials for GitHub Apps - Authorization Code
Perform the following steps to integrate your GitHub Apps using Authorization code.
Before you begin
- oauth_admin in DevOps Change Velocity.
- Admin account in GitHub.
Configure the GitHub App in your GitHub account (Authorization Code)
Create a custom GitHub App from your GitHub account to enable OAuth 2.0 authentication with your ServiceNow instance.
Before you begin
GitHub requirement: GitHub App configured to integrate with ServiceNow
Role required: No instance role required
About this task
Procedure
Add Client ID to DevOps property
After configuring your GitHub App, you must ensure that the Client ID prefix (first 3 or more characters of the ID) is added to the DevOps property: Client ID specifier for GitHub App.
Before you begin
Role required: sn_devops.admin
Procedure
- Navigate to .
- Change the Application scope to DevOps Data Model.
- Search for the property: Client ID specifier for GitHub App [sn_devops.github_oauth_client_id_specifier].
- Enter the Client ID prefix (first 3 or more characters of the ID) of your GitHub App to the property.
- Select Save.
Register GitHub as an OAuth Provider (Authorization Code)
Use the information generated during GitHub App account configuration to register GitHub as an OAuth provider and allow the instance to request OAuth 2.0 tokens.
Before you begin
Role required: admin, sn_devops.admin
Procedure
Create a credential record for GitHub App provider (Authorization Code)
Create a credential record to the GitHub App provider previously created to authorize actions.
Before you begin
Role required: admin, credential_admin