Join our Newsletter — 33% off our NHI Course

How do organisations get started with delegated tokens?

Organisations get started with delegated tokens by defining which user-authorised apps are allowed to act on a user’s behalf and what scopes they may request. Security teams should register the application, grant only the minimum permissions, review consent flows, and monitor for token misuse, excessive scopes and long-lived access after role changes.

What delegated tokens are for and how they should be introduced

Delegated tokens exist to let an application act on a user’s behalf without collecting the user’s password or broad standing access. The starting point is to define the delegation pattern itself, then decide which apps may receive that capability and which resources they may reach. That framing keeps the programme about controlled authorisation, not just token issuance.

For teams that want a practical baseline, the token exchange and on-behalf-of pattern is a useful reference point because it separates the original user context from the delegated access token the app uses later. OAuth Token Exchange and Delegation Guide is the most direct starting point for understanding that model and the claims that make delegation auditable.

Good starter design also makes the boundary explicit: the user consents to the app, the app receives only the scope it needs, and the resulting token should be audience-bound to the intended resource rather than broadly reusable. That prevents delegation from turning into a general-purpose bearer credential.

The first operational step is to register the application and describe the exact access path it needs. That includes the identity of the app, the users it serves, the APIs or services it will call, and the minimum scopes needed for the delegated task. If the app cannot justify a scope in business terms, it should not request it.

From there, consent flows need to be deliberate. Teams should verify what users will see during approval, whether the scopes are understandable, and whether the consent event is logged well enough for later review. If users can approve a token that silently outlives the original business need, the delegation model has already drifted into overreach.

It also helps to compare delegated access with the broader secrets and token lifecycle problem. Delegated tokens should be treated as short-lived and replaceable, while any supporting secrets, refresh credentials or certificates need separate handling and rotation discipline. NHIMG’s Secrets Management Guide is a strong companion where teams are trying to keep delegated access from becoming another long-lived secret management problem.

Where organisations are still deciding how far to go with token lifetime and renewal, the practical question is whether the delegated token can expire quickly enough to limit blast radius without breaking legitimate user workflows. That judgement matters more than the implementation brand or protocol flavour.

What to monitor after rollout and when to tighten controls

Once delegated tokens are live, monitoring should focus on whether the app is using only the scopes it requested, whether tokens are being reused after role changes, and whether access still makes sense when the user leaves a team or changes job function. The control objective is not just to issue tokens, but to keep them aligned with current authority.

That is where token misuse becomes visible. Repeated access from unusual contexts, delegated calls that exceed the approved scope, or stale access that persists after a user’s role change are the signals that matter most. NHIMG’s Guide to NHI Rotation Challenges is relevant here because delegated access often fails for the same reason many machine credentials fail, namely weak lifecycle control and poor dependency mapping.

Teams should also plan for revocation and re-consent. If an application changes owner, changes purpose, or begins requesting broader access than before, the safe response is to review the grant rather than assume the original approval is still valid. The most common failure is letting old consent survive organisational change.

Risk and Threat Considerations

Delegated tokens create a narrow but high-value trust path: if the app is compromised, mis-scoped, or allowed to keep access too long, an attacker can inherit the user’s approved authority without needing the user’s password. That makes overbroad scope, weak consent review and poor expiry handling the main exposure points.

Failure mechanism: A delegated token is issued with more scope, longer life, or wider audience than the application truly needs, then survives user role changes or compromise long enough to be reused for unauthorised access.

Impact: An attacker or over-permissive application can read data, call APIs, or perform actions that appear legitimate because they are rooted in an approved delegation chain rather than obvious account takeover.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 provides the primary governance reference for this topic.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-07 — Long-Lived Secrets Delegated access becomes risky when token lifetimes and refresh paths are too long.
NHI-05 — Overprivileged NHI Delegated apps should receive only the permissions needed for the user-approved task.
Recommendation — Shorten delegated credential lifetime and remove standing access paths that outlive need. Scope delegated access to the minimum permissions required for the workflow.

Practitioner Guidance

What to prioritise: Start with the smallest set of apps that truly need on-behalf-of access and require each one to prove the business task it supports. Do not begin with broad platform rollout if you have not first defined who may delegate, to what, and for how long.

What to verify: Confirm that the delegated token is scoped to the exact resource, that consent text matches the actual access being granted, and that revocation is effective when a user’s role changes. If those three do not line up, the design is not ready for production use.

Common mistake: Treating delegated tokens as a one-time integration decision. In practice, the hard part is lifecycle control, because the risk usually appears later when the app expands, a user changes teams, or a refresh path keeps old access alive.

Practitioner takeaway: The safest starting point is not “can the app get a token?” but “can we prove this token stays narrow, auditable and removable as the business changes?”