Google Workspace
Connecting Google Workspace gives you Sign in with Google, subject autocomplete from your directory, group-based provisioning and automatic deprovisioning when a Google account is suspended or deleted. Team plan and above. For: Admins and Owners.
Anyone can sign in to SafeHanded with a Google account, on every plan including Free. This page is about connecting your own Workspace, so your staff join your organisation and your directory works with it.
Connect
Section titled “Connect”- Go to Settings → Integrations and choose Connect → Google Workspace. For your organisation, choose Sign-in and people search, or People search only to leave sign-in as it is. In MSP mode, choosing a client sets up people search for that client.
- Enter your Workspace domains. Only Google accounts from these domains can sign in; personal Gmail accounts never can.
- Leave Also use for people search, groups and directory sync ticked and enter the Workspace admin email SafeHanded reads your directory as. Access is read-only.
- Choose whether new members join by invitation only (the default) or automatically from a verified domain.
Sign-in works as soon as you save.
Grant directory access
Section titled “Grant directory access”People search, groups and directory sync need a one-off step in the Google Admin console, the Google equivalent of Microsoft’s admin consent. Nobody creates a key.
- Open the connection’s page. Under Directory access you’ll see SafeHanded’s Client ID and the OAuth scopes, each with a copy button.
- In the Google Admin console, go to Security → Access and data control → API controls → Manage domain-wide delegation and choose Add new.
- Paste the client ID and the scopes, then Authorise.
- Back in SafeHanded, choose Test. The page shows Delegation confirmed.
SafeHanded also needs to know the Workspace is yours before it reads it: either verify the admin’s email domain under Settings → Verification, or sign in to SafeHanded with Google as that Workspace admin, then choose Test. Changing the domain or admin later asks for this again.
The scopes are read-only (admin.directory.user.readonly and admin.directory.group.readonly):
SafeHanded can list users and groups, never change them. Remove the delegation entry at any time to
stop directory access; sign-in keeps working.
Prefer your own service account? Under Advanced: use your own service account when connecting, paste its JSON key instead and give it the same delegation.
Groups
Section titled “Groups”Google sign-in doesn’t carry group membership, so at each sign-in SafeHanded asks your directory which of the groups you’ve configured the person belongs to, including through nested groups. Use them on the connection’s Groups & roles tab:
- Joining groups: only provision members of listed groups, or let a group stand in for the domain.
- Group → role mapping: a member of a mapped group gets that role instead of the default. The strongest role wins and Owner is never assigned this way.
Both editors search your directory by group name once directory access is confirmed. If the directory can’t be reached at sign-in, provisioning falls back to your verified domains. More in provision by group.
Automatic deprovisioning
Section titled “Automatic deprovisioning”Google offers automatic provisioning only to apps in its own catalogue, so SafeHanded checks your directory instead, every 15 minutes:
- A member whose Google account is suspended, archived or deleted is disabled. Nothing is lost: their requests, shares and history stay with your organisation.
- A member the sync disabled is enabled again when their account comes back. A member you disabled yourself stays disabled.
- Group → role mappings are applied again.
- Owners are never disabled or re-roled by the sync, so you can’t be locked out.
New members still join by signing in.
See who hasn’t signed in yet
Section titled “See who hasn’t signed in yet”- With Joining groups listed, people in those groups who haven’t signed in yet show on Members as Not signed in yet.
- They take no seat and have no access until they first sign in with Google.
- Suspended or archived people, and people who leave the groups, drop off the list.
- Sync now, at the top of the connection’s page, refreshes it straight away.
- More about the list.
Subject autocomplete
Section titled “Subject autocomplete”Once directory access is confirmed, typing a subject on a request or share autocompletes from your directory. Suspended and archived users are left out. In MSP mode you connect a directory per client.
Using SAML instead
Section titled “Using SAML instead”You can also add SafeHanded to Google Workspace as a custom SAML app. That gives you sign-in only: no people search, groups from the directory or automatic deprovisioning.