Client ID and Client Secret for GitHub Libraries
To create a Client ID and Client Secret for GitHub, you need to register a new application through GitHub's Developer Settings.
Log in to GitHub
Navigate to GitHub and log in to your account.
Go to Developer Settings
Click your profile picture in the top-right corner. Select Settings from the dropdown. In the left sidebar, scroll down and click Developer Settings.
Create a new OAuth application
On the Developer Settings page, click OAuth Apps, then click the New OAuth App button.
Fill in application details
There are three required fields:
- Application Name: Any name for your OAuth App.
- Homepage URL: The URL of your application. This is the URL to your Informer instance.
- Authorization Callback URL: The URL GitHub redirects to after authentication. In this case, it is
https://api.informer.cloud/integration/callback.
Generate the Client ID and Client Secret
After filling in the details and saving, GitHub provides a Client ID and Client Secret. Keep these credentials secure, as they allow your app to authenticate with GitHub.
Note: After entering your Client ID and Client Secret into Informer to connect to a GitHub Library, you are prompted for the Owner, Repository, and Branch to pull files from:
- Owner: The user or organization that owns the repository.
- Repository: The name of the specific repository.
- Branch: The specific version or copy of the repository's code.