Learn how to configure a SAML SSO connection using Google Workspace
Create a SAML Connection
In Kandji, navigate to the Settings page.
Click the Access tab.
Find the Authentication section and click the Add button on the bottom left. (If that section does not currently exist, SSO is not enabled for your instance.)
In the new pane, click Custom SAML.
Click Show Advanced Details.
Copy the Assertion Consumer Services URL into a text document for later use.
Copy the Entity ID into a text document for later use.
Leaving this tab open, continue to the Google Workspace Admin console following the instructions below.
Add the Kandji application to Google Workspace
In a new browser tab, log in to admin.google.com with a Google Workspace admin account.
Click the menu symbol at the top left.
Select Web and mobile apps.
Click the Add App dropdown.
Select Add custom SAML app.
On the App details page:
Set an App name.
Set an optional App icon.
On the Google Identity Provider Details page, use Option 2: Copy the SSO URL, entity ID, and certificate.
Copy the SSO URL and save it to a text document for later use.
Download the certificate and save it for use in Kandji.
On the Service Provider Details page:
In the ACS URL field, paste the Kandji Assertion Consumer Service URL you copied earlier.
In the Entity ID field, paste the Kandji Entity ID you copied earlier.
Make sure that the Signed response option is checked.
Set the Name ID Format to UNSPECIFIED.
For NameID, make sure that Basic Information > Primary email is selected.
- On the Attribute Mapping page:
Click on Add Mapping twice so that you can add the following two mappings:
Find the First name attribute in the dropdown menu and paste the following string:
Find the Last name attribute in the dropdown menu and paste the following string:
- Click on View details under User Access to ensure that the service is turned on and that either a user group or organizational unit is selected.
More about Kandji attribute mappings can be found in the Required Claim Attributes section of the SAML-based Single Sign-on knowledge base article.
Configure the SAML Connection in Kandji
Go back to the Custom SAML integration in Kandji.
Give the connection a name.
Paste in the Sign In URL you copied from Google Workspace.
Upload the Google Workspace certificate you downloaded earlier.
Ensure that the User ID Attribute is set to the default value of:
Ensure that Sign Request is set to Yes.
Ensure that Request Algorithm is set to RSA-SHA256.
Ensure that Sign Request Algorithm Digest is set to SHA 256.
Set the Protocol Binding to HTTP-POST.
Save the connection, then click Cancel to close the configuration pane.
Enable the SAML Connection
Once you have configured the SAML connection in both Kandji and your identity provider, you can now enable the connection. Please refer to the Enable and Manage a Connection section in our Single Sign-On support article for step-by-step instructions.
Enforcing Single Sign-on
Once you have configured at least one single sign-on connection, you can disable the standard authentication connection. Doing so will disable the ability for Kandji administrators in your instance to authentication via email/password, Google Sign in, or Office 365 Sign in. Please refer to our Single Sign-on support article for step-by-step instructions.
Add a Test User to Kandji
Add a test user to the Admin Team in Kandji by clicking New User
Fill in all of the corresponding user information. This user must exist in Google Workspace
Once the invite is submitted, close the Invite User window
Refresh the Access page in Kandji. You should see the user who was just added
Go to the user’s email to accept the invite and log in with the new SAML SSO connection