Authenticating GitHub Access with a Cloud-Based VCS Repository Service
Last updated
Last updated
To gain access to your GitHub cloud-based projects, you need to authorize iCR to access them using OAuth. Here is how that is done.
This will open the page allowing you to add iCR to the set of approved third parties from which you will accept login redirect requests.
Clicking New OAuth App will open the window shown below.
You can enter a helpful string, such as “iCR” for the Application name. The Homepage URL will need to use the IP address of your host system. For the purposes of this guide, we will use an example IP address, https://3.237.77.219
.
iCR uses port 3001 to communicate with the browser, so that needs to be added to the IP address to create the Homepage URL. Using the sample IP address, you would enter:
The application description is optional so you can leave it blank. Note that this information will not necessarily be seen by anyone logging into GitHub. Once the OAuth app is created, Users will log in to GitHub using their private credentials and will not see this information.
The Authorization callback needs to provide the server’s URL of the callback, so, enter:
Clicking on “Register Application” opens a window that asks you to create the secret keys that you will use on your server to authenticate it with GitHub.
You will need both the client ID 0fd65d592f9e11c08c1c
and the client secret 32ced7036f5093fffbcb841029a8d506ad549ae9
. Copy and paste these values in a convenient place as you will need to present them to the Navigator when you first select GitHub as your preferred repository, as described in Selecting Your Source Code.