- Visit your GitHub organization's settings page, located at https://github.com/organizations/YOUR-ORGANIZATION/settings/profile. Replace
YOUR-ORGANIZATION
with the name of your organization. - Locate Developer Settings at the bottom of the left sidebar and click on OAuth Apps
- Click the New Org OAuth App button
- Enter a name for your GitHub OAuth app
- Enter the homepage URL, like: https://measure.yourcompany.com. Replace
yourcompany.com
with your domain. - Enter a suitable description of your app
- Enter the following as the Authorization callback URL - https://measure.yourcompany.com/auth/callback/github. Replace
yourcompany.com
with your domain. - Click on Register application button to create the GitHub OAuth app
- Click on Generate a new client secret
- Copy the Client ID and Client Secret