Skip to content

Google Workspace

This guide walks you through configuring Google Workspace as your SAML identity provider for the application you are onboarding, enabling secure Single Sign-On for your users. You’ll learn how to set up an enterprise application, configure SAML settings to the host application. By following these steps, your users will be able to seamlessly authenticate using their Google Workspace credentials.

  1. Create a custom SAML app in Google Workspace

    Section titled “Create a custom SAML app in Google Workspace”

    Google allows you to add custom SAML applications that connect with Scalekit over the SAML protocol. This is the first step in establishing a secure SSO connection.

    1. Go to Google Admin Console (admin.google.com)
    2. Select AppsWeb and Mobile Apps
    3. Click Add AppAdd custom SAML app

    Custom SAML app Creating a new custom SAML application in Google Workspace

    1. Provide an App Name (e.g., “YourApp”) and upload an app icon if needed
    2. Click Continue

    Your SSO config portal connects with Google IdP using three essential pieces of information:

    • SSO URL
    • Entity ID
    • Certificate

    Copy these values from the Google console and paste them into your config portal.

    Google IdP Details Essential SAML configuration details from Google Workspace

  2. Configure the Service Provider in Google Admin Console

    Section titled “Configure the Service Provider in Google Admin Console”

    In your SSO configuration portal:

    1. Navigate to Single Sign-On (SSO) → Google Workspace → SAML 2.0
    2. Select the organization you want to configure
    3. Copy these critical details from the SSO settings:
      • ACS URL (Assertion Consumer Service URL)
      • SP Entity ID (Service Provider Entity ID)
      • SP Metadata URL

    SSO Config Portal Service Provider configuration details in SSO portal

    In Google Admin Console:

    1. Paste the copied details into their respective fields
    2. Select “Email” as the NameID format (this serves as the primary user identifier during authentication)
    3. Click Continue

    Google Workspace Configuring Service Provider details in Google Workspace

  3. User profile attributes in Google IdP need to be mapped to your application’s user attributes for seamless authentication. The essential attributes are:

    • Email Address
    • First Name
    • Last Name

    To configure these attributes:

    1. Locate the Attribute Mapping section in your Identity Provider’s application
    2. Map the Google attributes to your application attributes as shown below

    User profile attributes Mapping user attributes between Google Workspace and your application

  4. Control access to your application by assigning specific users or groups:

    1. Go to the User/Group assignment section in your Identity Provider application
    2. Select and assign the user groups that need access to your application via SSO

    Group assignment Assigning user groups for SSO access

    1. From your Google Workspace, copy the IdP details shown during custom app creation:

    Google IdP details Identity Provider details from Google Workspace

    1. In your SSO configuration portal:
      • Navigate to Identity Provider Configuration
      • Paste the Google IdP details into:
        • Entity ID
        • SSO URL
        • x509 certificates

    Update IdP details in SSO config portal Updating Identity Provider configuration in SSO portal

    1. Click Update to save the configuration
  5. Verify your SAML SSO configuration:

    1. Click Test Connection in the SSO Configuration Portal
    2. If successful, you’ll see a confirmation message:

    Test Single Sign On Successful SSO connection test

    If there are any configuration issues, the test will identify them and provide guidance for correction.

  6. Once you’ve verified the configuration:

    1. Click Enable Connection to activate SSO for your users

    Enable SSO Connection Enabling the SSO connection

Congratulations! You have successfully configured Google SAML for your application. Your users can now securely authenticate using their Google Workspace credentials through Single Sign-On.