The Google Workspace Integration in Timus Manager enables seamless synchronization of your Google Workspace users and groups into your cloud environment. This allows centralized identity management, automated provisioning, and precise access control—ideal for organizations using Google Workspace as their primary identity provider.
What This Integration Enables
- Synchronize users and groups from Google Workspace into Timus
- Automatically assign synced users to the Google Workspace Users team
- Control access to specific Cloud Gateways (Sites) by group
- Optionally enable Remote Access for VPN-style connectivity
- Maintain continuous synchronization using a secure service account
After initial configuration, the Preferences tab in Timus Manager is unlocked for managing group mappings and access rules.
Prerequisites
Before getting started, ensure you have:
- Administrator access to the Google Cloud Console and Google Workspace Admin Console
- A Client ID, Client Secret, and Customer ID
- A Service Account JSON key file (max 10KB)
-
Assigned the required admin roles:
- Groups Reader
- User Management Admin
Create a Google Cloud Project & Credentials
To establish the integration, follow the steps below to configure your Google Cloud project and generate the required credentials.
Create a Google Cloud Project
-
Access the Google Cloud Console
Navigate to Google Cloud Console
-
Select the Appropriate Organization
In the “Select Organization” dropdown, choose your organization.
⚠️ Important: Ensure the correct organization is selected to avoid errors during resource synchronization or IAM policies application.
If your organization does not appear:
- Open the Hamburger menu (☰) → IAM & Admin → Identity & Organization.
- Locate and select your organization from the list.
- Click Create Project
-
Enter the following:
- Project Name
- Select the Organization
- Set Location (parent org or folder)
- Click Create
Enable Admin SDK API
- Navigate to APIs & Services → Library in the Google Cloud Console
- Search for Admin SDK API
- Select Admin SDK API from the results
- Click Enable
Create OAuth 2.0 Credentials (Client ID & Client Secret)
- Go to APIs & Services → Credentials
- Click Create Credentials → OAuth Client ID
If prompted, configure the OAuth Consent Screen:
- Add an App Name and Support Email
- (Optional) Upload a logo
- Provide Developer Contact Information
- Under Application Type, select Web Application
- For Authorized Redirect URIs, enter: https://auth.timuscloud.com/user/external
- Select Admin SDK API as the target API
- Choose User Data as the data scope
-
After credentials are generated:
- Copy and securely store the Client ID and Client Secret
Create a Service Account & Generate JSON Key
- Go to IAM & Admin → Service Accounts
- Click Create Service Account
- Fill in the requested fields.
- Click Create and Continue
-
Under Grant access, assign the role:
- Basic → Viewer
- Click Done
- Open the created service account and go to Keys tab
- Click Add Key → Create New Key
- Choose JSON as the key type
- Click Create – a .json key file will be downloaded automatically
Store this file securely. You will upload it into Timus Manager later.
⚠️ If “Service Account Key Creation” Fails
If you see an error such as “Service account key creation has been disabled by organization policy”, follow these steps to resolve it.
Service account key creation has been disabled by organization policy
Step 1 Switch to Organization-Level View
- In Google Cloud Console, go to IAM & Admin → Organization Policies.
- At the top of the page, change the scope from your project to the Organization.
Switching to organization-level policy view.
Step 2 Locate Disabled Service Account Policies
Search for the following two policies in the filter bar:
- constraints/iam.disableServiceAccountKeyCreation
- constraints/iam.disableServiceAccountKeyCreationForLegacy
Screenshot 2: Locating the service account key creation policies.
Step 3 Edit and Disable Enforcement
- Click the ⋮ (ellipsis) icon next to each policy and choose Edit Policy.
- Check Override Parent Policy.
- Set Enforcement to Off.
- Click Save.
Disabling enforcement for policy.
Both of these policies must be inactive (Not enforced) before attempting to create the JSON key..
Step 4 Retry JSON Key Creation
- Return to IAM & Admin → Service Accounts → Keys.
- Click Add Key → Create New Key → JSON.
- The JSON key should now generate successfully.
Successful creation of JSON key after policy adjustment.
These policies are typically enforced by default. Temporarily disabling them allows integration setup. You may re-enable them later according to your organization’s security policy.
Assign Admin Roles in Google Admin Console
- Go to Google Admin Console
-
Navigate to Account → Admin Roles
- Assign “Groups Reader” Role
- Select Groups Reader → click Assign Admin
- Paste the Service Account email address
-
Click Add → then Assign Role
- Assign “User Management Admin” Role
- Repeat the above steps for the User Management Admin role
These roles are required to read group and user data but do not allow modification of any Google Workspace content.
Find Your Google Workspace Customer ID
- In the Google Admin Console, go to Account → Account Settings
- Locate your Customer ID
- Copy this value for use in the Timus integration screen
Configure the Integration in Timus Manager
- Go to Settings → Integrations
- Click ⚙️ → Manage on the Google Workspace card
-
In the Configuration tab:
- Paste your Client ID, Client Secret, and Customer ID
- Upload your Service Account JSON file
- Click Save to activate the integration
The Preferences tab will be enabled only after a successful configuration.
Enable Synchronization
- Open the Preferences tab
- Toggle Synchronization Status to ON
- Confirm the Last Sync timestamp to verify that data is syncing correctly
🔄 Synchronization will continue periodically while the agent remains active and authorized.
Map Groups & Configure Access
In the Mapping section:
- Select Google Workspace groups from the list
- Under Allowed Sites, define which site they can access
- Optionally, enable Remote Access for VPN-style connectivity
Site permissions apply immediately and can be adjusted later under Users or via Bulk Actions.
Post-Sync Behavior
- Synced users appear under Users & Teams → Users
- By default, users are added to the Google Workspace Users team
- Google Workspace group memberships are re-evaluated during each sync
- Manual team assignments remain unless overridden by future sync mappings
Disable the Integration
To deactivate:
- Navigate to Settings → Integrations.
- Click the ⚙️ → Disable on the Google Workspace card.
Disabling the integration will:
- Stop all future synchronization events
- Preserve existing users and teams
- Unlink group mappings
- Allow you to re-enable the connection later if needed
🔐 Security & Data Handling
- All communication uses OAuth 2.0 with securely stored encrypted tokens
- The Service Account JSON key is stored encrypted and never exposed
- Timus uses read-only access to Google data; no user or group is modified
- Timus does not write back or make changes to your Google Workspace directory
- Permissions and access policies within Timus are managed internally and do not propagate to Google
- JSON key or OAuth credentials can be revoked at any time from the Google Cloud Console
Updated
Comments
0 comments
Please sign in to leave a comment.