Set up Single Sign-On (SSO) with Google Workspace

Dinesh

Last Update hace 9 días

This guide explains how to configure Single Sign-On (SSO) between SecOps Solution and Google Workspace using either SAML 2.0 or OpenID Connect (OIDC).
With SSO enabled, users can sign in to SecOps Solution using their organization's Google Workspace credentials.

Prerequisites 

Before you begin, ensure that:
  • You have Account Owner access to SecOps Solution.
  • You have Google Workspace Super Administrator access to configure SSO applications.
  • The users who need SSO access already have accounts in SecOps Solution.
  • The email addresses associated with the SecOps Solution accounts match the users' primary email addresses in Google Workspace.

Option 1: Configure SSO using SAML 2.0 

Step 1: Open the SSO configuration in SecOps Solution

  1. Log in to your SecOps Solution account.
  2. Click your profile icon in the top-right corner of the application.
  3. From the menu that appears, select Account.
  4. In the Account section, select Security from the left-hand navigation panel.
  5. Locate the Single Sign-On section.
  6. Select Google Workspace as the Identity Provider.
  7. Select SAML as the authentication method.
SecOps Solution will display the values required to configure the SAML application in Google Workspace.
Copy the following values:
  • Entity ID
  • ACS URL
Keep this page open. You will need these values when configuring the application in Google Workspace.

Step 2: Create a custom SAML application in Google Workspace 

  1. Sign in to the Google Admin console.
  2. Navigate to Apps → Web and mobile apps.
  3. Select Add app.
  4. Choose Add custom SAML app.
  5. Enter an application name, such as SecOps Solution.
  6. Continue to the Identity Provider details page.

Step 3: Obtain Google Identity Provider details 

On the Google Identity Provider details screen:
  1. Download the metadata file, or note the following details:
    • SSO URL
    • Entity ID
    • Certificate
  2. Keep these details available for the SecOps Solution configuration.
  3. Continue to the Service Provider details screen.

Step 4: Configure the Service Provider details 

On the Service provider details screen, enter the values copied from SecOps Solution:
  • ACS URL: Paste the ACS URL copied from SecOps Solution.
  • Entity ID: Paste the Entity ID copied from SecOps Solution.
Configure the following:
  • Name ID format: Select EMAIL.
  • Name ID: Map it to the user's primary email address.
Complete the application setup.

Step 5: Enable the application for users 

After creating the application:
  1. Open the application in the Google Admin console.
  2. Locate the user access settings.
  3. Turn the application ON for everyone, or enable it for the specific organizational units or groups that should access SecOps Solution.
  4. Save the changes.
Ensure that the required users are covered by the application access settings.

Step 6: Complete the SSO configuration in SecOps Solution 

Return to the Single Sign-On section in SecOps Solution.
Google Workspace provides the Identity Provider details through the custom SAML application configuration. Complete the connection using either of the following methods:
Option A: Enter the details manually
Under From Google Workspace, provide:
  • Identity provider issuer (Entity ID): The Entity ID obtained from Google Workspace.
  • Sign-in URL: The SSO URL obtained from Google Workspace.
  • Signing certificate: The certificate obtained from Google Workspace.
Option B: Upload the metadata file
  1. Use the metadata XML file downloaded from Google Workspace.
  2. Upload it using the metadata file option available in SecOps Solution.
Save the configuration.

Step 7: Test the SSO connection 

  1. Select Test sign-in in the Single Sign-On section.
  2. Complete the authentication flow using your Google Workspace account when prompted.
  3. Verify that you are redirected back to SecOps Solution and successfully signed in.
  4. Confirm that the SSO connection status is updated to Working.
If the test fails, verify that the configured URLs are correct, the application is enabled for the user, and the Name ID is mapped to the user's email address.

Step 8: Require users to sign in through SSO (Optional) 

Once the SSO connection is marked Working, you can enable Require single sign-on to make SSO the only way users can access your SecOps Solution account.
Before enabling this option, ensure that the connection has been tested successfully and all required users have access to the Google Workspace application.

Option 2: Configure SSO using OpenID Connect (OIDC) 

If you prefer OpenID Connect instead of SAML, follow these steps.

Step 1: Select OpenID Connect in SecOps Solution 

  1. Log in to SecOps Solution.
  2. Click your profile icon in the top-right corner.
  3. Select Account from the menu.
  4. Select Security from the left-hand navigation panel.
  5. Locate the Single Sign-On section.
  6. Select Google Workspace as the Identity Provider.
  7. Select OpenID Connect as the authentication method.
  8. Copy the displayed Authorized redirect URI.
You will need this URI when creating the OAuth client in Google Cloud.

Step 2: Create an OAuth 2.0 Web application client 

  1. Sign in to the Google Cloud console.
  2. Navigate to APIs & Services → Credentials.
  3. Create an OAuth 2.0 Client ID.
  4. Select Web application as the application type.
  5. Configure the application details.
  6. Under Authorized redirect URIs, add the Authorized redirect URI copied from SecOps Solution.
  7. Complete the client creation.

Step 3: Obtain the application credentials 

After creating the OAuth client:
  1. Locate the generated Client ID and copy it.
  2. Copy the Client secret.
  3. Keep both values available for the SecOps Solution configuration.
The Google OIDC issuer URL is:
https://accounts.google.com

Step 4: Configure OIDC in SecOps Solution 

Return to the OIDC configuration in SecOps Solution and provide the following details:
  • Issuer URL: https://accounts.google.com
  • Client ID: The Client ID generated in Google Cloud.
  • Client Secret: The Client secret generated in Google Cloud.
Save the configuration.

Step 5: Test the OIDC connection 

  1. Select Test sign-in in the Single Sign-On section.
  2. Complete the authentication flow using your Google Workspace account.
  3. Verify that authentication completes successfully and redirects you back to SecOps Solution.
  4. Confirm that the SSO connection status is updated to Working.

Troubleshooting 

If you encounter issues while configuring or using SSO, check the following:
IssueWhat to check
SSO connection test failsVerify that the Entity ID, ACS URL, metadata or Identity Provider details, and certificate are correct.
User cannot sign inConfirm that the application is enabled for the user's account or organizational unit in Google Workspace.
Email mismatchEnsure the user's primary email address in Google Workspace matches the email address in SecOps Solution.
Authentication fails after configurationVerify that the SAML or OIDC configuration has been saved correctly and the required values are valid.
SAML authentication stops workingCheck whether the Google Workspace signing certificate or metadata needs to be updated.
Redirect or callback errorFor OIDC, verify that the Authorized redirect URI configured in Google Cloud exactly matches the URI displayed in SecOps Solution.
If the issue persists, contact the SecOps Solution support team with the error details and relevant configuration information.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us