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 for Go 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-Go” 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 (9f3595aee3db10367190
) and the client secret (7c943db74adf02d3cb568eaa46e8d1df9c8c3e16
). 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.