domainwidedelegation.comStart free

Use casesAdmin and governance

Review third-party app access across all users

Enumerate OAuth grants to external apps for every user, so you can spot risky or unwanted integrations before they cause trouble.

Who it is forSecurity and compliance teams responsible for Workspace tenant integrity.
APIsAdmin SDK
Typical scopesadmin.directory.user.security, admin.directory.user.readonly

The problem

Users authorise third-party apps without oversight, risking data exposure or compliance breaches. Manual checks are incomplete and quickly outdated, especially at scale.

How it works

  1. List all users in the domain with the Admin SDK.
  2. For each user, impersonate them and retrieve their authorised third-party OAuth clients via the security API.
  3. Aggregate and classify the discovered apps by risk or business need.
  4. Report findings to IT, flagging unknown or high-risk integrations.

What changes

Admins gain a timely view of every app with access to Workspace data, enabling prompt investigation or revocation.

The trap in this one. The Admin SDK's tokens.list method can return incomplete results if a user has not logged in recently or if propagation is delayed after a new grant. Relying on a single scan may miss recent or dormant authorisations — schedule repeated reviews and correlate with login activity.

Watch it explained

Controlling Access to Third Party Apps in Google Workspace” — Google Workspace Admins on YouTube. Third-party video, included because it covers this ground well. We are not affiliated with the channel.

Questions people ask

Can I revoke app access automatically?

You can, but bulk revocation via API is not supported for all app types. Review findings with stakeholders first to avoid disrupting business processes.

How fresh is the data returned?

There may be a delay of several hours between a user granting access and the API reflecting the new authorisation, especially for accounts that are infrequently used.

Want this built?

This is a pattern we run in production. We will set up the delegation and build this on top of it — $500 per hour, most of it working the same day.

Talk to us Or read the setup guide

Related use cases

Audit which third-party apps can read your mail

List every OAuth grant across the domain and find the retired tools still holding access.

Automate joiners, movers and leavers

Create accounts, set group membership, provision Drive and hand over mailboxes without a manual checklist.

Continuously verify your delegation still works

A scheduled probe that proves every API still answers under every tenant, before a customer finds out otherwise.