Skip to main content

How to set up single sign-on (SSO) with Legl using Google Workspace

Learn how to configure SAML-based SSO for Legl using Google Workspace, including setup, testing, and going live with your team.

Written by Ula Moyse-White
Updated today

Overview

Single Sign-On (SSO) allows users to log into Legl using their organisation's existing identity provider credentials.


This guide explains how to set up SAML-based SSO with Google Workspace and how to test the setup with Legl Support before rolling it out to all users.

Before you start

Before setting up SSO, make sure that:

  • You are a Google Workspace Super Admin

  • You have admin access to your Legl account

  • You have approximately 15 minutes available to complete setup

  • You can download and send XML metadata files


Step 1: Download the Legl SAML metadata file

  1. Download the XML file and save it locally. You will reference values from this file when configuring Google Workspace.


Step 2: Add a custom SAML app in Google Admin

  1. Sign in to admin.google.com

  2. Go to Apps > Web and mobile apps

  3. Click Add App > Add custom SAML app

  4. Name the application Legl, then click Continue


Step 3: Download Google's IdP metadata

  1. On the Google Identity Provider details screen, click Download Metadata and save the XML file

  2. Keep this file β€” you will send it to Legl Support at the end of setup

  3. Click Continue


Step 4: Enter Legl's Service Provider details

Enter the following values exactly:

Field

Value

ACS URL

Entity ID

Start URL

Leave blank

Signed response

Leave unchecked

Name ID format

EMAIL

Name ID

Basic Information > Primary email

Click Continue.

ℹ️ Important


Legl matches users by their primary email address. The Name ID must be set to the user's primary Google email.


Step 5: Add attribute mapping

Map the following Google Directory attribute to the Legl app attribute:

Google Directory attribute

App attribute

Primary email

email

Click Finish.


Step 6: Turn on user access

  1. Go back to Web and mobile apps and open the new Legl app

  2. Click User access

  3. Set the service status to ON for everyone, or for the organisational unit (OU) that needs access to Legl

  4. Click Save


How to test SSO with Legl Support

Before migrating all users to SSO, testing is required.

  1. Email the Google IdP metadata XML file from Step 3 to [email protected]

  2. Legl Support will configure the backend and enable SSO on a single test user

  3. Legl will confirm when the test user is ready to verify login

  4. Test login at account.legl.com/login. You should be redirected to Google, complete authentication, and return to Legl

  5. Once confirmed working, Legl will migrate your full team to SSO


Other supported identity management tools

Legl supports any SAML 2.0-compatible identity provider.


Legl has experience supporting setup with:

If you use a different identity provider, contact our Support team and we will assist you.


Important information

  • SSO must be tested with at least one user before full rollout

  • You must be a Google Workspace Super Admin to complete setup

  • The Name ID must be the user's primary Google email address. Legl matches users on email

  • Only users with User access turned on in Google Admin can sign in via SSO

  • Users must already exist in Legl. If a user is new, Legl Support will provide an invite link

  • If you rotate the SAML certificate in Google Admin, re-send the updated IdP metadata XML to [email protected]

Did this answer your question?