Home / Knowledge hub / Delegated access
Knowledge hub
Delegated access
Letting one person or app act for another within limits they set.
What it means
Delegated access means one party acts on behalf of another, within limits the second party agreed to. A user lets a calendar app read their events. A manager lets an assistant approve expenses. The helper never receives the user's password, only a limited permission that the user can later withdraw.
OAuth 2.0 is the standard way to do this between applications, and most people have clicked through its consent screen without reading it. RFC 6749 describes it as letting a third-party application obtain limited access to a service, either on behalf of the owner or on its own behalf.
Why it matters
The risk is that the permission is wider or longer-lived than anyone intended. A connected app asked for full account access when it needed to read one folder, and now a breach at that app becomes a breach of your customer's data. Nobody reviewed the grant because it was one click.
For your own product, delegation is a feature customers ask for and an easy place for privilege escalation. If the delegate can do more than the person who delegated, the feature has become a way around your rules, and support staff acting as a customer are the usual example.
How it shows up
You meet it in OAuth consent screens, personal access tokens, "share with" settings, support staff acting on a customer's account, and admin "view as" features. Each has the same questions: what exactly was granted, for how long, and who can take it back.
Common mistakes include scopes that are too broad, tokens that never expire, no screen where the person can see and revoke what they gave, and a delegate able to exceed the delegator's own permissions. Check also that actions taken by a delegate are recorded with both identities in the audit log.
Questions people ask
Delegated access, answered
Is delegated access the same as sharing a password?
No, and that is the point. Sharing a password gives away everything and cannot be limited or revoked on its own. Delegation grants a narrow, revocable permission.
If your customers are sharing passwords today, it usually means your product lacks a delegation feature.
What is a scope in OAuth?
A scope is a named permission the app requests, such as read-only access to contacts. The user or admin approves it on the consent screen.
Request the smallest scope that does the job, and check that the server enforces it on every call.
Can a delegate do more than the person who delegated?
It should not. A delegate's power must be capped by the delegator's own permissions, or the feature can be used to climb past your limits.
Test it by delegating from a low-privilege account and trying to reach admin functions.
How should delegated access end?
With expiry by default, and with a simple way for the person to revoke it. Revocation should take effect immediately on the server, not when a token next refreshes.
Also remove it when the person leaves or changes role.
What should we log?
Who granted it, what was granted, who used it, and what they did. Record both the delegate and the account acted for, so an investigation can tell them apart.
Without both identities, a delegated action looks like the owner did it themselves.
Sources
Where this comes from
Related
Terms that sit next to this one
OAuth
The standard behind every sign in with and connect your account button.
Confused deputy
A trusted service tricked into using its own power for someone who lacks it.
Impersonation feature
A support tool that acts as a customer, and the controls it needs around it.
Least privilege
Giving every person and service the minimum access the job requires.
Access token
A short-lived token that lets a client call an API on a user's behalf.
Can the helper outrank the owner?
Delegation features are where business-logic and access flaws hide. We check what each signed-in account can reach that it should not, and report only what we actually exploited. Book a pilot on one app.
Or start with a $199 pilot on one application: thirty days, success criteria agreed before day one, credited against the annual if you convert.