Google Workspace, formerly known as G Suite, is a collection of cloud computing, productivity and collaboration tools, software and products (see https://workspace.google.com/). You can configure your Google Workspace account to Single Sign-On (SSO) through Identity as a Service. If you want to configure Google Workspace for Identity as a Service user provisioning, see Integrate Google Workspace for user provisioning.
Note: You need a Google Admin account to complete this procedure.
Note: This guide was tested using previous versions of Identity as a Service and Google Workspace. Other versions of Google Workspace may require integration and configuration steps that differ from those documented in this procedure. For newer versions of Google Workspace, this integration guide may be used as an initial approach for integrating Google Workspace. In the event of other issues, contact support@entrust.com for assistance.
Export a SAML signing certificate
1. Log in to your Identity as a Service administrator account.
1. Click
> Security > Applications.
The Applications List page appears.
2. Under SAML Cloud Integrations, click SAML Signing Certificates. The SAML Signing Certificates page appears.
3. Click
next to the certificate to export the certificate
you want to import into your SAML service provider application. The Export Certificate dialog box appears.
a. If the certificate has been issued by a CA, do one of the following:
– Click Certificate to export the self-signed certificate.
– Click Root CA Certificate to export a certificate issued from a CA.
– Click Certificate Chain to export the SAML signing certificate and its CA certificates.
b. Click Export.
Copy the SAML Configuration from Identity as a Service
1. Log into your Identity as a Service administrator account.
2. Click
> Security
> Applications. The Applications Lists page appears.
3. Under SAML Cloud Integrations, click SAML Configuration. The SAML Configuration dialog box appears.
This dialog box contains information you need to configure your SAML application for Identity as a Service authentication.
4. Do one of the following:
● Leave this dialog box open to reference later in this procedure.
● Copy the Entity ID, Single Sign-on URL, and Single Logout URL to a text file and save it to reference later in this procedure.
Note: Depending on the integration you are performing, you may not need all three of these SAML configuration values.
Configure the Google Workspace application for Identity as a Service
1. Open a Web browser and go to https://admin.google.com.
2. Log in to your Google Workspace account.
3. Click Security.
4. Click Set up single sign on (SSO).
5. Scroll down and select Setup SSO with third party identity provider.
6. In the Sign-in page URL field, enter Single Sign-ON URL you copied in Step 2: Copy the SAML configurations from Identity as a Service.
7. Confirm that the Use a domain specific issuer check box is not selected. This allows for the standard issuer, google.com, to be used by Identity as a Service as the Entity ID in Step 3: Add Google Workspace to Identity as a Service.
8. At Verification certificate, click Replace certificate.
9. Click Choose File.
10. Navigate to the signing certificate that you saved in Step 1: Export the signing certificate, and then click Open.
11. Click Upload.
12. Click Save.
13. Leave this page open because you need to reference it when you Add Google Workspace to Identity as a Service.
Add Google Workspace application to Identity as a Service
1. Log into your Identity as a Service administrator account.
2. Click
> Security > Applications. The Applications
Lists page appears.
3. Click Add. The Select an Application Template page appears.
4. Do one of the following:
● Select SAML Cloud Integrations from the search drop-down list and scroll to find the application you want to add to IDaaS.
- or -
● In the Search bar, enter a search option to filter for the application you want to add to IDaaS.
5. Click Google Workspace. The Add Google Workspace page appears.
6. Enter an Application Name.
7. Enter an Application Description.
8. Optional. Add a custom application logo.
a. Click next to Application Logo. The
Upload Logo dialog box appears.
b. Click to
select an image file to upload.
c. Browse to select your file and click Open. The Upload Logo dialog box reappears showing your selected image.
d. If required, resize your image.
e. Click OK.
9. Select the Authentication Flow that appears to users during login.
10. Click Next. The General page appears.
11. If available, use the Upload Metadata XML file option to auto-populate the following fields, if available in the file:
● Default Assertion Consumer Service URL
● Alternative Assertion Consumer URLs
● Service Provider Entity ID (Issuer)
● Single Logout Service URL
● SAML Signing Certificate
● SAML NameID Encoding Format
● SAML Signature Algorithm
12. To import the Metadata file:
a. Click and browse
to select the file. The Metadata
Configuration dialog box appears.
b. If required, click Merge with existing values to merge new values with existing values for Alternative Assertion Consumer Services URLs and SAML attribute names.
c. Click Save.
13. If you do not have a metadata file, use the information provided in the next steps to populate the fields.
a. Enter the Default Assertion Consumer Service URL for the application.
Example: https://www.google.com/a/<your_domain>/acs where <your_domain> is replaced with your Google Workspace account domain name.
You can find your domain name by scrolling to the top of the Security page of your Google Workspace account (located at admin.google.com).
b. Enter the Service Provider Entity ID (Issuer) that is used by Identity as a Service to identify your application.
google.com
c. Leave the Single Logout Service URL field blank.
14. Optional. Enter the SAML Username Parameter Name used to identity the user ID being requested for authentication. The user ID can then be passed as a parameter, for example, Username=jdoe.
15. Enter the SAML Session Timeout to the time when the SAML Assertion times out. The maximum is 720 minutes.
16. Enter the Max Authentication Age (seconds) to set the maximum amount of time that can elapse before a user is required to reauthenticate during a new login attempt. This applies for both SP-initiated and IDP-initiated login. Set this field to -1 to disable this feature.
17. From the SAML Name ID Attribute drop-down list, select the user attribute that will be used to uniquely identity a user to both Identity as a Service and your application.
The value of the SAML NameID Attribute must include the user portion of the user's login name (which has an email address format) to log in to the G Suite application. For example, jdoe should be the SAML Name ID Attribute for the username jdoe@mail.com. The user attribute value set as the SAML NameID Attribute must be a username that exists in the Web application being accessed.
Attention: Make sure that the SAML NameID Attribute you select corresponds to a user name that is already registered in the Google Workspace account being configured. Check that the spelling and case of every character used for the SAML NameID Attribute is an exact match. If one letter is entered incorrectly, the user cannot log in to the application. For assistance, contact support@entrust.com.
18. For the SAML NameID Encoding Format, select UNSPECIFIED.
19. For SAML Response Signature Algorithm, select the signing algorithm you want Identity as a Service to use to sign the SAML response/assertion. The type of algorithm you select depends on the requirements of the application being configured.
20. Select the SAML Signing Certificate from the drop-down list.
21. Optional: Select Sign complete SAML response to ensure the message integrity of the SAML response sent to the application during authentication.
22. Optional: Select Respond Immediately for Unsuccessful Responses to return to the application immediately after a login failure, rather than allow user to try again with a different userID.
23. Deselect Enable Go Back Button if you do not want users to be able to go back to the Google Workspace login page to log in.
24. Select Show Default Assertion Consumer URL Service in the My Profile. When selected, the Default Assertion Consumer URL appears in a user's My Profile page in addition to relay states and Alternative Assertion Consumer URLs.
25. Optional: Select Encrypt SAML Assertion. When selected the SAML Assertion is also encrypted. If you select this option, do the following:
a. From the Encryption Method for Key drop-down list, select either RSA Version 1.5 or RSA-OAEP. RSA Version 1.5 is the default.
b. From the Encryption Method for Data drop-down list, select the encryption method used to encrypt data. The options are:
– AES-256 (default)
– AES-128
– AES-192
– Triple DES
26. In the Encryption Certificate field, upload the encryption certificate file you downloaded in Step 3:Modify Salesforce account settings to support encryption.
Note: The Subject Domain Name and Certificate Expiry Date values are populated with values from the certificate once the Encryption Certificate is uploaded.
27. Optional. Add Alternative Assertion Consumer Service URLs, as follows:
a. Click Add.
b. Enter a Name.
c. Enter a URL Value.
d. Select Show in My Profile to display the Alternative Consumer Service URL in a user's My profile page.
e. Optional. Add an Application Logo.
f. Click Add.
g. Repeat these steps to add more Alternative Assertion Consumer Service URLs.
28. Optional. Add a Relay State as follows:
a. Under Relay State, click Add. The Add Relay State dialog box appears.
b. Enter a Name for the relay state.
c. Enter the Value for the relay state. This setting specifies the application or URL that is a user is redirected to after successful authentication. For example, enter https://google.calendar.com to redirect a user to a Google calendar.
d. Select Show in My Profile to display the relay state on the user's My Profile page.
Note: After
you add relay states, you can also enable or disable them on the Add/Edit
application page. Click
next to the relay state to disable it or click
to re-enable it.
Relay states apply to the Default Assertion Consumer Service URLs and
not the Alternative Assertion Consumers URLs.
e. Optional.
Add a Relay State custom logo.
Click next to Relay State Logo. The Upload
Logo dialog box appears.
Click to select
an image file to upload.
Browse to select your file and click Open. The Upload Logo dialog box reappears showing your selected image.
If required, resize your image.
Click OK.
f. Click Add.
g. Repeat these steps to add more Relay States.
29. Click Submit.
Testing Service Provider Login
1. Open a Web browser and enter the URL for your Google Workspace account. You are directed to Identity as a Service.
2. Enter your Google Workspace account User ID and click Next.
3. Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to Google Workspace.
Testing Identity as a Service redirect log in
1. Log in to your Identity as a Service account.
2. Go to your My Profile page if you are not already there.
3. Under Applications, click Google Workspace.
4. Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to your Google Workspace account.