Google Workspace

Google Workspace is a secure search method that authenticates users through your Google Workspace domain using OIDC. Only authorized Google Workspace users can access the search page, providing a protected way to perform searches within SearchBlox.

Steps to Enable Secure Search for Google Workspace

To enable secure search using Google Workspace:

  1. Go to the Security tab in the Admin Search menu.
  2. Enable Private Security under Security Settings.
  3. Select Google Workspace as the Security Type.

Google Workspace Settings

Enter the required Google Workspace configuration details in the available fields:

FieldDescription
OAuth Client IDThe OAuth 2.0 client ID from your Google Cloud project.
OAuth Client SecretThe OAuth 2.0 client secret. Leave blank to keep the stored secret.
Hosted DomainYour Workspace domain (e.g., example.com). Required when "Validate Hosted Domain" is on.
Authorized Redirect URIAdd this to your OAuth client's Authorized redirect URIs in Google Cloud Console.
Use Service Account (group resolution)Resolve group membership via the Directory API using a service account with domain-wide delegation.
Service Account Key FileAbsolute path (on the server) to the service-account JSON key file.
Admin Email (delegation)A Workspace admin email the service account impersonates for the Directory API.
Validate Hosted DomainOnly allow sign-ins from users in the configured hosted domain.
Cache Group LookupsCache Directory API group results to reduce lookups.

Once the required fields are configured:

  1. Click Test Connection to verify the configuration.
  2. Click Save to store the Google Workspace settings, or Cancel to discard changes.

Note: Ensure the Authorized Redirect URI shown in SearchBlox is added to your OAuth client's Authorized redirect URIs in the Google Cloud Console, or authentication redirects will fail.


Did this page help you?