Social Login (OAuth)
GitLab
Configure GitLab OAuth for your Customer Portal.
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
- Navigate to the Authentication section and choose the GitLab provider.
- Copy the provided Redirect URI. Note this URI will change if you configure a custom domain later.
- Open your GitLab account.
- Click on your profile picture and select Edit Profile.
- Then, on the left menu, choose Applications and click on Add new application.
- 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.
Before saving, make sure you have checked the following scopes: read_user, openid, profile, email.
- Once created, copy the given Application ID and Secret.
- Paste them into your Kobble settings, turn on the Enabled switch and save.
🎉 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.