Skip to content

GitLab configuration

Create an Application in your GitLab instance

Here is the procedure to register GitLab Classroom as a GitLab Application on any GitLab instance.

Login to your GitLab instance, and open the /-/profile/applications page.

GitLab Create Application page

GitLab Create Application page

Input a name, the URI at which Gitlab CLassroom is deployed, and select the api scope.

Then click on Save Application to create the application.

Gitlab will then return with an Application Id, and a Secret.

Save these for later.

GitLab Created Application page with Application ID and Secret

GitLab Created Application page with Application ID and Secret

Configure GitLab connectivity using env vars

env var usage default value
GITLAB_URL URL of the Gitlab instance
GITLAB_CLIENT_ID Application ID generated when registering the application on Gitlab
GITLAB_CLIENT_SECRET Secret generated when registering the application on Gitlab