Overview

Offering a sign in with GitLab in your Customer Portal can be great if you target a developer audience. It allows your users to sign in with their GitLab account and provides you with their GitLab profile.

To support Sign in with GitLab you need to configure the GitLab provider in the Kobble dashboard for your project.

Once configured, the GitLab sign-in button will automatically be added on your Kobble Customer Portal.

Configuration

  1. Navigate to the Authentication section and choose the GitLab provider.
  2. Copy the provided Redirect URI. Note this URI will change if you configure a custom domain later.

GitLab Configuration 1

  1. Open your GitLab account.
  2. Click on your profile picture and select Edit Profile.

GitLab Configuration 2

  1. Then, on the left menu, choose Applications and click on Add new application.
  2. Fill in the form with the information of your application and the Redirect URI provided by Kobble and select the scopes read_user, openid, profile, email.

GitLab Configuration 3

Before saving, make sure you have checked the following scopes: read_user, openid, profile, email.
  1. Once created, copy the given Application ID and Secret.

GitLab Configuration 4

  1. Paste them into your Kobble settings, turn on the Enabled switch and save.

GitLab Configuration 5

🎉 Et voilà! Your customer can now use GitLab to sign-in in your authentication portal. No further action is required on your end.

In case you change your Customer Portal domain later, you will have to go through this process again and update your Authorized Redirect URI in your GitLab configuration.