Learn how to configure Native Google Workspace SSO connections.
If requiring authentication with Automated Device Enrollment for iOS enrollments and using Google Workspace as your identity provider, then the Single Sign-On entry must be created using Custom SAML, as the built-in Google Workspace integration is not supported.
Create a Google Workspace Application
- Log in to the Google Developer API Console. then click Create Project.
- Fill in your project details, then click Create.
- In the sidebar, click Credentials.
- In the right side of the window, near the top of the window, click Create Credentials.
- From the menu that appears, choose OAuth Client ID. Note that if this is your first time creating a client ID you may be prompted to also configure your consent screen. Learn More
- For "Application Type," click the menu and select "Web application".
- In the Name field, enter a name such as "Kandji".
For EU instances, enter the following:
- In the Authorized redirect URIs section, in the URIs field, enter the following:For EU instances, enter the following:
- Click Create.
- Copy the text from the Your Client ID field and save this for later use.
- Copy the text from the Your Client Secret field and save this for later use.
Create a Google Workspace Connection
- In Kandji, in the sidebar, click Settings.
- Click the Access tab.
- Find the Authentication section. SSO is not enabled for your instance if that section does not currently exist.
- In the bottom-left corner of the authentication table, click Add.
- In the new blade, click Google Workspace.
- Customize or use the default Name for the Google Workspace connection (this will be shown on the login page).
- Enter the Google Workspace Domainthat the application is registered within.
- Note: If migrating to a new Google Workspace domain using the same connection, this value can be changed to match your new domain. Best practice, however, would be creating a new SSO connection using SAML.
- Enter the Client ID you previously copied from Google Workspace.
- Enter the Client Secret you previously copied from Google Workspace.
- Click Save.
- After saving, a new dialogue box will appear with a link to authorize your connection. A Google Workspace administrator for your domain will need to click the link and complete this process to authorize the application. This box will not go away after authorization is completed.
- In the new window that launches, sign in, and click accept.
- After clicking Accept, you will be brought to an authorization success page.
- Your connection has now been successfully configured and may be enabled and tested.
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 our Single Sign-On support article for step-by-step instructions.
Enforcing Single Sign-OnOnce you have configured at least one Single Sign-On connection, you can disable the Standard Authentication connection. Disabling Kandji standard authentication 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.