Glossary · OAuth grant

What is an OAuth grant?

An OAuth grant is the permission a user or administrator gives a third-party application to act on their behalf within defined scopes, without sharing a password.

Book a demoAll terms
OAuth grants
ai-notetakergmail.readonly, driveBroad
crm-enricherSalesforce full accessBroad
sales-assistantchannels:historyOwner left
survey-botforms.readScoped
OAUTH GRANT

In practice

OAuth grants are how AI tools connect to Google Workspace, Microsoft 365, Salesforce, GitHub and Slack. The resulting tokens survive password changes and usually do not trigger MFA. If the vendor behind the app is breached, the attacker can use the grant within its scopes.

The Vercel breach and the Salesloft Drift breach both started from OAuth grants.

DEFINITION

An OAuth grant is the permission a user or administrator gives a third-party application to act on their behalf within defined scopes, without sharing a password.

HOW IT WORKS

How it works. Step by step.

The parts that make it up, in an environment with AI agents.

01Consent

A user or admin approves an app for a set of scopes.

02Tokens

The app receives access and refresh tokens tied to those scopes.

03Standing access

The app can act within the scopes until the grant is revoked.

04Vendor risk

If the vendor is breached, attackers can use the grant within its scopes.

EXAMPLE

What it looks like in Elmoz

A real path shape, drawn the way the Elmoz security graph shows it.

Security GraphFocus: ai-notetakerAll assetsIdentitiesData stores
ATTACK PATH8 entities · 3 access steps
ai-notetakerAI tool · OAuth app!OAuth grantMail and Drive scopesRefresh tokenNo expiry2dana.reyesWorkspace accountWorkspace tenantProductionSSO appsInternal tools!Shared drivesRead access3Findings3 issuesRunbooksShared documentsAPI keysData findingPII/EmailData finding
FAQ

Questions, answered.

Short answers about OAuth grant.

How do I review OAuth grants?

In Google Workspace, use third-party app access under API controls in the Admin console. In Microsoft Entra ID, check enterprise applications and user consents. Look at scopes, owners and last use.

Do OAuth tokens survive a password change?

Often yes. Many providers keep refresh tokens valid after a password change, although Google revokes tokens with Gmail scopes when the password changes. Revoking the grant itself is the reliable way to cut access.

Why are OAuth grants to AI tools a special risk?

AI tools often ask for broad scopes like mail and files, are connected by individual employees and are rarely reviewed again. The Vercel and Salesloft Drift breaches both started from OAuth grants.

See what your agents can reach. Before someone else does.

Book a demo and we walk through the access paths in an environment like yours.