Connecting Mosaic with Google SAML

Initial Setup with Google SAML

  1. Create a Group on Google Workspace.
  • Navigate to Groups and select Create Group.

  • Then fill out the fields however you'd like. Making sure to select the Security box at the bottom.

  • You can set the Access type to however you'd like to manage the Group, then add Users to the Group.

  1. Navigate to AppsWeb and mobile apps

  1. Click on App appAdd custom SAML app

  1. Enter a custom App name. You can also add an optional description and an optional app icon.

  1. On the Google Identity Provider details page, use Option 2: Copy the SSO URL, entity ID and certificate. You will need to copy over the SSO URL and Certificate onto Mosaic in Step #7.

Setup SAML on Mosaic

  1. Go to Mosaic settingsSecuritySAML 2.0 Single Sign On

🚧

Please Note:

Only admins are able to access the Security tab on Mosaic settings.

  1. On Mosaic’s SAML 2.0 Single Sign On menu, fill in:
  • Domain:
    • Domain associated with Google Workspace.

🚧

Please Note:

The email associated with the admin (who is setting up the SAML) must have the same domain as the one being inputted.

  • For example, if the admin uses an email [email protected], the only domain the admin could input is thisisdomain.com.
  • SSO URL:
    • SSO URL copied from Option 2: Copy the SSO URL and certificate in Step #5.
  • Certificate:
    • Certificate copied from Option 2: Copy the SSO URL and certificate in Step #5.

Back on the Google Identity Provider details page:

  1. Copy and paste the ACS URL and Entity ID from Mosaic’s SAML 2.0 Single Sign On menu to Google’s Service provider details section; all other fields can remain untouched.

  1. Next, configure the attribute mapping between Google Directory and App:
    1. Map the Google Directory attributes to the App attributes as follows:
      1. Primary email -> email
      2. First name -> first_name
      3. Last name -> last_name
      4. Department -> team_department
      5. Title -> team_title
    2. Under Group membership (optional) > Google groups, add the Group created in Step #1 to the list of Groups.
    3. Under Group membership (optional) > App attribute, enter security_group.
  • Upon successful setup, users will be able to see the custom SAML app in Google Workspace’s Web and mobile apps section.

  1. By default, access to the new custom SAML app is turned OFF for everyone on Google Workspace.
  • To make the app available, click on the new custom SAML app.

  • Click on User access and then click on Groups and select the Group you created. Checking the Service Status on box. Then Save.

🚧

Setting up Multiple Teams with SAML:

  • To set up multiple teams with SAML simply create another group and add users to that group. (Users can only be in 1 group!)
  • When setting up SAML on the new Mosaic team. Skip the step to copy the ACS URL and the Entity ID.

On the SAML app, you will also need to select all groups you want added in the mappings section.

  1. Next, go back to Mosaic and click Done

  • Upon successful activation, SAML 2.0 Single Sign On will have the following options:

  1. Next time a user with an email address belonging to the specified domain logs into Mosaic, they will be redirected to authenticate with Google the moment they click Next after inputting their email.