Skip to content
  • Auth and access
  • Social connections

GitLab social sign in

You can enable users to sign up and sign in using their GitLab credentials. To enable this, you’ll need some technical know-how and a GitLab app and credentials. Here’s some GitLab docs that might help.

Get the Kinde callback URL

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. In the Social Connections section, select Add connection.
  3. In the window that appears, select GitLab, then select Save.
  4. On the GitLab tile, select Configure.
  5. In the Callback URL section:
    1. If you use Kinde’s domain as your default, copy the Kinde domain URL.
    2. If you use a custom domain (and want to use it as the callback) select the Use custom domain instead switch and copy the Custom domain URL.
  6. Use the copied Callback URL to set up the app, see below.

Create GitLab app

Link to this section
  1. Sign in to your GitLab account and follow these instructions for adding a group-owned or user-owned application.
  2. Ensure these scopes are enabled in your application: read_useropenidprofileemail.
  3. Paste the Kinde callback URL in the Redirect URI field.
  4. Select Save.
  5. Copy the Application ID and Secret, and paste them where you can access them later.

Add GitLab credentials to Kinde

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. On the GitLab tile, select Configure.
  3. Paste the Client ID (Application ID) and Client secret (Secret) into the relevant fields.
  4. Select if you want to treat this connection as a trusted provider. A trusted provider is one that guarantees the email they issue is verified. We recommend leaving this off for maximum security.
  5. Select which applications will have a GitLab sign in option.
  6. Select Save. Users will now see GitLab as an option to sign up and sign in to your product.