Best practice
For the integration with Oomnitza, create a dedicated user account in GitHub. The user account that you create must have create, read, update, and delete privileges.
GitHub uses OAuth 2.0 authentication and requires your GitHub Client ID and Secret to be added to Oomnitza. To obtain your Client ID and Secret, complete the following steps:
- Log in to the GitHub.
- In the upper-right corner of any page, click your profile photo, then click Settings.
- In the left sidebar, at the bottom of the page, click Developer settings.
- Click OAuth Apps > New OAuth App
- Enter the app name and homepage URL.
- Set the Authorization callback URL to
https://generic-oauth2-proxy.oomnitza.com/oauth2/redirect_url
- Click Register application.
- When your app is created click Generate a new client secret.
- Copy your Client ID and Client Secret for the next step.
Adding your GitHub credentials
To stream GitHub user data into Oomnitza, complete the following steps:
- In Oomnitza, click Configuration > Security > Credentials.
- Click Add new credential (+).
- Search for the integration, and then click the forward arrow > to select the integration.
- Enter your client credentials and any other additional information.
- Click Authenticate. You are prompted to log in to authorize your request.
- Click CREATE.
- Add the information details.
- Click the AUTHORIZATION tab.
- Ensure that OAuth 2.0 is selected as the Authorization type.
- Ensure that GitHub is selected from the SaaS list.
- Enter the Client ID, Client Secret, and Scope. Enter the following scopes:
admin:org user
- Click Authenticate.
- Important: A pop-up will appear similar to the image below. Ensure that you select Grant and Authorize user otherwise the app will not have full permissions to read private and public users.
- Enter a Description to help you identify the credential (optional).
- Click CREATE.
Documentation:
GitHub Authentication: Creating an OAuth App
Next steps
Now that you have added your GitHub OAuth credentials to Oomnitza, you can run the GitHub user integration.
Comments
0 comments
Please sign in to leave a comment.