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.
The OAuth Authorization Code grant type is supported for GitHub & GitHub Enterprise with MID server.
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
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