GitHub, Inc. is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continuous integration, and wikis for every project.
Firstly, create a credential in Tines,
Login to your Tines tenant
Navigate to the team that will be using the API and click "Credential"
Click "+ New Credential" and select "OAuth 2.0"
Copy the "Callback URL"
Next, create a GitHub OAuth App
Navigate to http://www.github.com/ and sign in. If you don't have an existing account, click on "Sign up"
Click on your profile in the top right-hand corner and select "Settings"
Click on "Developer Settings" at the bottom of the sidebar on the left-hand side.
Click on "OAuth Apps" and then "Register a new application"
Fill out the application details, using the "Callback URL" copied from your Tines credential for "Authorization callback URL". Once completed, click "Register application"
Click "Generate a new client secret" and copy the secret generated, along with the "Client ID"
Click "Update the application"
Lastly, continue creating the credential in Tines
Input the values for the GitHub credential
Name: Required
Description: Optional
Client ID: "Client ID" copied earlier
Client secret: "Client secret" copied earlier
Scope: repo user
OAuth Provider: Manual
Grant type: Authorization code
OAuth authorization request URL:
https://github.com/login/oauth/authorize
PKCE challenge method: None
OAuth token URL:
https://github.com/login/oauth/access_token
Optional
Domains: Ensure this credential can only be used when making HTTP requests to specific domains
Access: What other teams can also use the API
When you click "Save", you may be asked to "Authorize Tines"
For more on creating credentials in Tines, click here.
You can find a selection of GitHub stories in the story library