> ## Documentation Index
> Fetch the complete documentation index at: https://help.allthenticate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up SAML single sign-on for a GitLab group

> Connect your GitLab group's SAML SSO to Allthenticate using GitLab's metadata, Allthenticate's sign-in URL and certificate fingerprint, then verify the setup.

## Before you start

* Admin access to the Allthenticate admin portal.
* Access to your GitLab group's **SAML SSO** settings.
* Users who will sign in have the Allthenticator app set up.

## Download the GitLab metadata

1. Open your organization's GitLab group and, from the left sidebar, go to **Settings** > **SAML SSO**.
2. In the **SAML Single Sign On** section, right-click the link under **GitLab metadata URL** and save it to disk.

## Configure in Allthenticate

**1. Add GitLab as a service provider**

In the admin portal, go to **SSO** > **SAML** and select **Add Service Provider**. Enter `GitLab` as the **Provider Name**. The [SAML setup guide](https://help.allthenticate.com/help/sso/saml.md#register-the-service-provider-in-allthenticate) shows each field of this dialog.

**2. Upload the GitLab metadata**

Under **Metadata File**, upload the file you saved from GitLab and select **Save**. A confirmation shows that the service provider was added, and GitLab appears in the list.

## Configure in GitLab

**1. Enable SAML**

On the same **SAML SSO** page in GitLab, go to the **Configuration** section and check **Enable SAML authentication for this group**.

**2. Enter Allthenticate's details**

| GitLab field | Value |
| - | - |
| **Identity provider single sign-on URL** | `https://saml.allthenticate.com/ssoentry` |
| **Certificate fingerprint** | `F3:E8:23:2C:01:05:85:5A:22:28:6E:36:9C:FF:60:48:93:E2:03:73` |

These values come from Allthenticate's metadata at `https://saml.allthenticate.com/idpmetadata`. The fingerprint is the SHA-1 fingerprint of the certificate you get from **Download Public Key** in Allthenticate.

**3. Save**

Select **Save changes**.

![GitLab group SAML SSO Configuration section with Enable SAML authentication for this group checked, the identity provider single sign-on URL set to https://saml.allthenticate.com/ssoentry, the certificate fingerprint filled in, and the Save changes and Verify SAML Configuration buttons](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/gitlab/saml-configuration.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=894d6091dfca9c35c5bf75de0281f4c1)

The Configuration section of GitLab's SAML SSO page, filled in for Allthenticate.

## Test sign-in

1. At the bottom of the **Configuration** section in GitLab, select **Verify SAML configuration**.
2. GitLab opens the Allthenticate sign-in page. Approve the request on your phone.

   ![Allthenticate sign-in page titled Login to Gitlab, with an email field, a Login button and a Trust this browser checkbox](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/gitlab/verify-sign-in.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=97163b671d4bc59b0f58a1d12de9b736)

   The Allthenticate sign-in page that Verify SAML configuration opens.
3. When sign-in succeeds, GitLab returns to the SAML page and shows the **NameID**, **NameID Format** and **SAML Response XML** it received.

If sign-in fails, see [SAML troubleshooting](https://help.allthenticate.com/help/sso/saml.md#troubleshooting).

## Related

* [Set up Allthenticate as a SAML identity provider](https://help.allthenticate.com/help/sso/saml.md)
* [Single sign-on overview](https://help.allthenticate.com/help/sso/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.