Delegated Authorization
Delegated authorization is a pattern that lets an application, integration, or agent perform actions on behalf of a user after the user has given explicit consent. Instead of sharing their password, the user grants the application a limited set of permissions to access their resources. This keeps the user in control of what the application is allowed to do.
Delegated authorization is an authorization pattern, most commonly implemented with the OAuth 2.0 framework, in which a resource owner grants a client a scoped subset of privileges to access protected resources on the owner's behalf, without the client obtaining the owner's credentials. In typical OAuth 2.0 deployments, the client obtains an access token representing the delegated privileges following user consent, and Microsoft's delegated access model applies this when a signed-in user works with their own resources or resources they can access. Note that OAuth 2.0 is a delegated authorization framework, not an authentication protocol; establishing user identity requires an authentication layer such as OpenID Connect. Some emerging work, such as the IETF Internet-Draft draft-li-oauth-delegated-authorization, describes further delegating a subset of granted privileges to a subordinate access token, though that draft is an unendorsed Internet-Draft with no formal standing and its details may change.
Why it matters
Before delegated authorization patterns became widespread, applications that needed to act on a user's behalf often resorted to collecting and storing the user's actual credentials, the so-called password anti-pattern. That approach gave third-party applications unlimited standing access to a user's account, made credential rotation painful, and offered no way to scope or revoke access short of changing the password. Delegated authorization addresses this by letting the resource owner grant a client a scoped subset of privileges after explicit consent, without ever handing over their credentials.
Who it's relevant to
Inside Delegated Authorization
Common questions
Answers to the questions practitioners most commonly ask about Delegated Authorization.
