Skip to content

Github Integration Setup

Creating your Github Application

  1. Navigate to in order to create a new OAuth app

  2. Homepage URL should be the URL that Autolab will be served on (i.e Authorization callback URL is the URL that Github will make a callback to after authentication, which must be the homepage URL appended with /users/github_oauth_callback (i.e

See example: DeepinScreenshot_select-area_20211113132623

  1. After registering the application, you should now have a Client ID for your application. Create a Client Secret as well, you should see the following:


Configuring Github Integration for Autolab

First, ensure that you already have the Github application credentials set up based on the previous section

If you do not have a .env file in your Autolab root yet (may not be present on older installations), create it by running the following script from the Autolab root directory:


Open up .env in your favorite editor, and update GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET to use the client ID and client secrets that you generated previously:


Verifying Github Integration

In order to verify whether your deployment has been setup correctly,

  1. Login as an Autolab administrator user

  2. Navigate to the Manage Autolab tab on the top navigation bar

  3. Select Github Integration link. It will detect whether your credentials have been supplied correctly by testing against the API limits that you are entitled to, and report whether your installation is successfully integrated with Github.