Enable GitLab authentication

To enable Single Sign-On (SSO) with GitLab, you must first create a GitLab application. You will then use your application’s ID and secret to link NXLog Platform to GitLab.

Create a GitLab application

  1. Log in to your GitLab account, click on your avatar, and navigate to Edit profile > Applications.

  2. Click the Add new application button under Your applications.

    Create a GitLab application,width=788px,height=262px
  3. Enter an application Name. For example, NXLog Platform.

  4. Specify the Redirect URI https://auth.nxlog.example.com/landing, replacing nxlog.example.com with your NXLog Platform domain. This is where GitLab will redirect users after authorization.

  5. Enable the Confidential checkbox.

  6. Under Scopes, select the openid, profile, and email options.

    GitLab application scopes,width=788px,height=47px
  7. Click Save application. Your new application information will be displayed. Take note of the Application ID and Secret; you will use these to link NXLog Platform to GitLab.

    GitLab application details,width=832px,height=469px
  8. Click Continue to go back to your Applications page.

  1. Log in to NXLog Platform and navigate to Administration > Tenant operations > Platform configuration.

  2. Look for the GitLab section under Social login.

  3. Enter your GitLab application ID and secret in the Client ID and Secret fields.

  4. Enable the switch (green). NXLog Platform hides the Secret and enables SSO authentication with GitLab.

    NXLog Platform GitLab authentication

Invite users to NXLog Platform

Before users can sign in using GitLab, you must invite them to NXLog Platform using their email address, and they must accept the invitation to create an account. See Manage organization users for more information.