Skip to main content

Setting up SSO with Google Workspace

Create SAML app

  1. Open the Google Workspace Admin Console at admin.google.com.

  2. On the left menu, click Show more and navigate to Apps > Web and mobile apps.

  3. Click Add app and select Add custom SAML app.

    Google Workspace screenshot

  4. Enter the following data.

    FieldContent
    App namefreispace
    App iconUpload this file: freispace-icon.png
  5. Click CONTINUE.

Get Google's settings

  1. On freispace, start by clicking Add tenant and entering a name for this connection, i.e. Google.

  2. Then, copy the provided data from Google into freispace.

    freispace nameGoogle nameExample data
    Login URL (SSO endpoint)SSO URLhttps://accounts.google.com/o/saml2/idp?idpid=xxxxx
    IdP Issuer IDEntity IDhttps://accounts.google.com/o/saml2?idpid=xxxxxx
    IdP X.509 CertificateCertificate-----BEGIN CERTIFICATE----- xxxxxxxxxx -----END CERTIFICATE-----

    Google Workspace screenshot

  3. Additionally, enter the following data.

    freispace field nameData
    Namespace definition for given nameshttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
    Namespace definition for surnameshttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
  4. Click CONTINUE on the Google setup page.

  5. Click Save settings on freispace.

Set settings on Google

After saving the settings on freispace, you will now see two fields: Reply URL and Identifier. Google needs to know about these settings.

  1. Copy over the settings from freispace into Google.

    freispaceGoogleExample data
    Reply URLACS URLhttps://api.app.freispace.com/api/v1/saml2/xxx/acs
    Identifier (Entity ID)Entity IDhttps://api.app.freispace.com/api/v1/saml2/xxx/metadata
    Team Login URLStart URLhttps://app.freispace.com/login/xxx
  2. Ensure that Signed response is not checked.

  3. Additionally, set Name ID to Basic Information > Primary email. (Leave Name ID format as UNSPECIFIED.)

    Google Workspace screenshot

  4. Click CONTINUE on the Google setup page.

Attribute mapping

In order for freispace to automatically import your users' names, you will need to map attributes as described.

  1. Click ADD MAPPING twice and add the following mappings.

    Google Directory attributesApp attributes
    First namehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
    Last namehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

    Google Workspace screenshot

  2. Click FINISH.

Activating the SAML app

  1. On freispace, click Activate.

  2. On Google Workspace, click the tile User access.

    Google Workspace screenshot

  3. Set Service Status to ON for everyone and confirm with SAVE.

Done! 🎉

freispace should now appear as an app in the App drawer.

Google Workspace screenshot