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
-
Log in to your GitLab account, click on your avatar, and navigate to Edit profile > Applications.
-
Click the Add new application button under Your applications.
-
Enter an application Name. For example,
NXLog Platform
. -
Specify the Redirect URI
https://auth.nxlog.example.com/landing
, replacingnxlog.example.com
with your NXLog Platform domain. This is where GitLab will redirect users after authorization. -
Enable the Confidential checkbox.
-
Under Scopes, select the openid, profile, and email options.
-
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.
-
Click Continue to go back to your Applications page.
Link NXLog Platform to GitLab
-
Log in to NXLog Platform and navigate to Administration > Tenant operations > Platform configuration.
-
Look for the GitLab section under Social login.
-
Enter your GitLab application ID and secret in the Client ID and Secret fields.
-
Enable the switch (green). NXLog Platform hides the Secret and enables SSO authentication with GitLab.
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.