<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Blog · victorh.dev</title>
    <link>https://victorh.dev/blog/</link>
    <description>Articles on identity and access management: OAuth and OpenID Connect, passkeys, workload identity and AI agent identity.</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>Victor Hernandez Guzman</managingEditor>
    <copyright>© 2026 Victor Hernandez Guzman</copyright><lastBuildDate>Wed, 25 Nov 2026 01:05:03 -0700</lastBuildDate>
    <atom:link href="https://victorh.dev/blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A Practical Map of OAuth 2.0 and Adjacent Identity Specs</title>
      <link>https://victorh.dev/blog/practical-oauth-map/</link>
      <pubDate>Wed, 25 Nov 2026 01:05:03 -0700</pubDate>
      <dc:creator>Victor Hernandez Guzman</dc:creator>
      <guid isPermaLink="true">https://victorh.dev/blog/practical-oauth-map/</guid>
      <description>Stop memorizing OAuth RFC numbers. Learn how to navigate the OAuth 2.0 and identity landscape by mapping real-world architectural problems to core capability pillars.</description><content:encoded><![CDATA[<aside class="callout callout--tldr" aria-label="TL;DR">
  <p class="callout__label"><svg class="icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M8 6h13M8 12h13M8 18h13"/><path d="M3 6h.01M3 12h.01M3 18h.01"/></svg><span>TL;DR</span></p>
  <div class="callout__body">
    <ul>
      <li>OAuth 2.0 grew into a constellation of RFCs; pick specs by starting from the architectural problem and capability pillar, not RFC numbers.</li>
      <li>Six pillars cover the landscape: foundations, token lifecycle, sender-constrained tokens and request integrity, fine-grained authorization and delegation, client authentication, and discovery and identity.</li>
      <li>Four combinations show up again and again: browser and mobile apps, regulated transactions, backend workloads, and multi-hop or agent delegation.</li>
    </ul>
  </div>
</aside>
<p>Anyone who has worked in Identity and Access Management for a while knows the feeling. You sit in a design review, someone asks whether a service should use <code>RFC 9126</code>, <code>RFC 9101</code>, <code>RFC 8705</code>, or <code>RFC 9449</code>, and half the room has to mentally translate RFC numbers back into actual capabilities.</p>
<p>OAuth 2.0 started out looking simple enough on paper, then grew into a broad constellation of RFCs, Best Current Practices, and companion specifications. That growth is a good thing because real systems have messy constraints. Still, when you are trying to pick the right building block fast, memorizing RFC numbers by rote gets old quickly.</p>
<p>I put together this map the way I like to reason about specs in practice: starting from the problem and the capability pillar first, then narrowing down to the exact RFCs and how they fit together.</p>
<h2 id="part-1-what-each-capability-pillar-actually-covers">
  <a class="heading-anchor" href="#part-1-what-each-capability-pillar-actually-covers" aria-label="Copy link to this section">#</a>
  Part 1: What Each Capability Pillar Actually Covers
</h2>
<p>Before looking up individual RFCs, it helps to group the territory into six capability pillars. When I look at an architecture problem, these six buckets tell me where to start looking.</p>
<h3 id="1-foundations-and-modern-baseline">
  <a class="heading-anchor" href="#1-foundations-and-modern-baseline" aria-label="Copy link to this section">#</a>
  1. Foundations and Modern Baseline
</h3>
<p>This pillar covers the core OAuth roles, grant types, bearer token transport, and the baseline rules that keep authorization code flows safe from interception. It also separates what modern deployments should treat as standard from older patterns that have fallen out of favor.</p>
<h3 id="2-token-lifecycle-and-representation">
  <a class="heading-anchor" href="#2-token-lifecycle-and-representation" aria-label="Copy link to this section">#</a>
  2. Token Lifecycle and Representation
</h3>
<p>Once a token is issued, a system still has to format it, validate it, check whether it is still active, and revoke it when needed. This pillar is about that post-issuance lifecycle, where you constantly weigh local validation speed against central control and immediate revocation.</p>
<h3 id="3-sender-constrained-tokens-and-request-integrity">
  <a class="heading-anchor" href="#3-sender-constrained-tokens-and-request-integrity" aria-label="Copy link to this section">#</a>
  3. Sender-Constrained Tokens and Request Integrity
</h3>
<p>Standard bearer tokens work on a simple premise: whoever holds the token can use it. Sender-constrained tokens bind a token to a client key or certificate so a stolen token is much harder to replay, while request integrity specs protect authorization parameters from tampering or front-channel leakage.</p>
<h3 id="4-fine-grained-authorization-delegation-and-constrained-devices">
  <a class="heading-anchor" href="#4-fine-grained-authorization-delegation-and-constrained-devices" aria-label="Copy link to this section">#</a>
  4. Fine-Grained Authorization, Delegation, and Constrained Devices
</h3>
<p>Plain <code>scope</code> strings start breaking down once permissions need to capture transaction details or multi-step delegation across services and agents. This pillar also covers flows built for devices that do not have a full browser experience.</p>
<h3 id="5-client-authentication-and-enterprise-assertions">
  <a class="heading-anchor" href="#5-client-authentication-and-enterprise-assertions" aria-label="Copy link to this section">#</a>
  5. Client Authentication and Enterprise Assertions
</h3>
<p>Static <code>client_secret</code> strings create operational headaches around rotation, storage, and blast radius. This pillar focuses on stronger ways for clients and workloads to prove who they are using signed JWTs, SAML assertions, or platform-issued credentials.</p>
<h3 id="6-discovery-client-lifecycle-and-identity-layer">
  <a class="heading-anchor" href="#6-discovery-client-lifecycle-and-identity-layer" aria-label="Copy link to this section">#</a>
  6. Discovery, Client Lifecycle, and Identity Layer
</h3>
<p>Interoperability depends on plumbing: discovering endpoints and keys automatically, registering or managing clients dynamically, and keeping user authentication distinct from API authorization. OpenID Connect sits right here because it builds user identity on top of OAuth rather than replacing authorization with it.</p>
<hr>
<h2 id="part-2-oauth-rfcs-mind-map">
  <a class="heading-anchor" href="#part-2-oauth-rfcs-mind-map" aria-label="Copy link to this section">#</a>
  Part 2: OAuth RFCs Mind Map
</h2>
<p>Use this mind map to find the right RFC starting from the pillar you need to work with.</p>
<p><a href="oauth_rfc_mind_map.png"><figure class="prose-figure"><img src="https://victorh.dev/blog/practical-oauth-map/oauth_rfc_mind_map.png" alt="Mind map of OAuth 2.0 RFCs grouped by the six capability pillars" width="2523" height="1194" loading="lazy" decoding="async"><figcaption class="mono">OAuth RFC Mind Map</figcaption></figure></a></p>
<hr>
<h2 id="part-3-key-acronyms-explained">
  <a class="heading-anchor" href="#part-3-key-acronyms-explained" aria-label="Copy link to this section">#</a>
  Part 3: Key Acronyms Explained
</h2>
<p>Several of the specs in this article are usually referred to by their acronyms. This table spells out the five you will see most often.</p>
<table>
	<thead>
			<tr>
					<th>Acronym</th>
					<th>Meaning</th>
					<th>RFC</th>
					<th>What it does</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td><strong>PKCE</strong></td>
					<td>Proof Key for Code Exchange</td>
					<td><a href="https://datatracker.ietf.org/doc/html/rfc7636">RFC 7636</a></td>
					<td>Stops authorization code interception. The client sends a <code>code_challenge</code> and later proves it with the matching <code>code_verifier</code> (<code>S256</code>).</td>
			</tr>
			<tr>
					<td><strong>DPoP</strong></td>
					<td>Demonstrating Proof of Possession</td>
					<td><a href="https://datatracker.ietf.org/doc/html/rfc9449">RFC 9449</a></td>
					<td>Binds tokens to a client-held key without mTLS. It suits SPAs, mobile apps, and proxies. The client signs a short-lived <code>DPoP</code> proof JWT for each request, and the token carries a <code>cnf</code> (<code>jkt</code>) key thumbprint.</td>
			</tr>
			<tr>
					<td><strong>JAR</strong></td>
					<td>JWT-Secured Authorization Request</td>
					<td><a href="https://datatracker.ietf.org/doc/html/rfc9101">RFC 9101</a></td>
					<td>Signs (and optionally encrypts) the authorization parameters. They travel as a JWT in a <code>request</code> or <code>request_uri</code> parameter.</td>
			</tr>
			<tr>
					<td><strong>PAR</strong></td>
					<td>Pushed Authorization Requests</td>
					<td><a href="https://datatracker.ietf.org/doc/html/rfc9126">RFC 9126</a></td>
					<td>Sends the authorization parameters over the back-channel. The client <code>POST</code>s to the PAR endpoint and gets back a short-lived <code>request_uri</code>. Only that reference goes in the browser redirect.</td>
			</tr>
			<tr>
					<td><strong>RAR</strong></td>
					<td>Rich Authorization Requests</td>
					<td><a href="https://datatracker.ietf.org/doc/html/rfc9396">RFC 9396</a></td>
					<td>Expresses structured, transaction-level permissions with an <code>authorization_details</code> JSON array.</td>
			</tr>
	</tbody>
</table>
<hr>
<h2 id="part-4-quick-reference-matrix">
  <a class="heading-anchor" href="#part-4-quick-reference-matrix" aria-label="Copy link to this section">#</a>
  Part 4: Quick-Reference Matrix
</h2>
<p>Use this table when you know the problem you are trying to solve and want a fast pointer to the relevant specs.</p>
<table>
	<thead>
			<tr>
					<th style="text-align: left">Problem or Requirement</th>
					<th style="text-align: left">Pillar</th>
					<th style="text-align: left">Relevant Specs</th>
					<th style="text-align: left">Key Mechanism</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td style="text-align: left">Standard delegated access and bearer transport</td>
					<td style="text-align: left">Foundations</td>
					<td style="text-align: left">RFC 6749, RFC 6750</td>
					<td style="text-align: left">Authorization Code flow, <code>Authorization: Bearer</code></td>
			</tr>
			<tr>
					<td style="text-align: left">Stop authorization code interception</td>
					<td style="text-align: left">Foundations</td>
					<td style="text-align: left">RFC 7636 (PKCE)</td>
					<td style="text-align: left"><code>code_challenge</code> and <code>code_verifier</code> (<code>S256</code>)</td>
			</tr>
			<tr>
					<td style="text-align: left">Current security baseline and deprecated grants</td>
					<td style="text-align: left">Foundations</td>
					<td style="text-align: left">RFC 9700, OAuth 2.1 (draft)</td>
					<td style="text-align: left">PKCE (universal in 2.1), exact redirect URIs, no ROPC, Implicit discouraged (removed in 2.1)</td>
			</tr>
			<tr>
					<td style="text-align: left">Standard JWT claims for access tokens</td>
					<td style="text-align: left">Token Lifecycle</td>
					<td style="text-align: left">RFC 9068</td>
					<td style="text-align: left"><code>at+jwt</code> with <code>iss</code>, <code>exp</code>, <code>aud</code>, <code>sub</code>, <code>client_id</code>, <code>iat</code>, <code>jti</code></td>
			</tr>
			<tr>
					<td style="text-align: left">Check token status at runtime</td>
					<td style="text-align: left">Token Lifecycle</td>
					<td style="text-align: left">RFC 7662</td>
					<td style="text-align: left"><code>POST</code> to the introspection endpoint returning <code>active</code> and claims</td>
			</tr>
			<tr>
					<td style="text-align: left">Revoke tokens on logout or compromise</td>
					<td style="text-align: left">Token Lifecycle</td>
					<td style="text-align: left">RFC 7009</td>
					<td style="text-align: left"><code>POST</code> to the revocation endpoint with <code>token</code> and type hint</td>
			</tr>
			<tr>
					<td style="text-align: left">Bind tokens to TLS client certificates</td>
					<td style="text-align: left">Sender-Constrained</td>
					<td style="text-align: left">RFC 8705</td>
					<td style="text-align: left">Mutual TLS and <code>cnf</code> (<code>x5t#S256</code>) thumbprint</td>
			</tr>
			<tr>
					<td style="text-align: left">Bind tokens without mTLS (SPAs, mobile, proxies)</td>
					<td style="text-align: left">Sender-Constrained</td>
					<td style="text-align: left">RFC 9449 (DPoP)</td>
					<td style="text-align: left">Per-request <code>DPoP</code> proof JWT and <code>cnf</code> (<code>jkt</code>) thumbprint</td>
			</tr>
			<tr>
					<td style="text-align: left">Sign (and optionally encrypt) authorization parameters</td>
					<td style="text-align: left">Request Integrity</td>
					<td style="text-align: left">RFC 9101 (JAR)</td>
					<td style="text-align: left">Signed, optionally encrypted <code>request</code> or <code>request_uri</code> JWT</td>
			</tr>
			<tr>
					<td style="text-align: left">Push authorization parameters over back-channel</td>
					<td style="text-align: left">Request Integrity</td>
					<td style="text-align: left">RFC 9126 (PAR)</td>
					<td style="text-align: left"><code>POST</code> to the PAR endpoint returning a <code>request_uri</code></td>
			</tr>
			<tr>
					<td style="text-align: left">Express structured, transaction-level permissions</td>
					<td style="text-align: left">Fine-Grained AuthZ</td>
					<td style="text-align: left">RFC 9396 (RAR)</td>
					<td style="text-align: left"><code>authorization_details</code> JSON array</td>
			</tr>
			<tr>
					<td style="text-align: left">Exchange tokens across service or agent hops</td>
					<td style="text-align: left">Delegation</td>
					<td style="text-align: left">RFC 8693</td>
					<td style="text-align: left"><code>token-exchange</code> grant and <code>act</code> claim chain</td>
			</tr>
			<tr>
					<td style="text-align: left">Authorize TVs, CLIs, or IoT devices</td>
					<td style="text-align: left">Constrained Devices</td>
					<td style="text-align: left">RFC 8628</td>
					<td style="text-align: left">Device code, user code, verification URI, polling</td>
			</tr>
			<tr>
					<td style="text-align: left">Authenticate clients with signed assertions</td>
					<td style="text-align: left">Client Auth</td>
					<td style="text-align: left">RFC 7521, RFC 7522, RFC 7523</td>
					<td style="text-align: left"><code>client_assertion</code> using JWT or SAML 2.0</td>
			</tr>
			<tr>
					<td style="text-align: left">Discover endpoints and signing keys automatically</td>
					<td style="text-align: left">Discovery &amp; Identity</td>
					<td style="text-align: left">RFC 8414</td>
					<td style="text-align: left"><code>/.well-known/oauth-authorization-server</code> metadata</td>
			</tr>
			<tr>
					<td style="text-align: left">Register or update OAuth clients dynamically</td>
					<td style="text-align: left">Discovery &amp; Identity</td>
					<td style="text-align: left">RFC 7591, RFC 7592</td>
					<td style="text-align: left">Dynamic registration endpoint and management token</td>
			</tr>
			<tr>
					<td style="text-align: left">Authenticate users and get identity claims</td>
					<td style="text-align: left">Discovery &amp; Identity</td>
					<td style="text-align: left">OpenID Connect</td>
					<td style="text-align: left"><code>openid</code> scope, signed <code>id_token</code>, <code>/userinfo</code></td>
			</tr>
	</tbody>
</table>
<hr>
<h2 id="part-5-the-specs-by-pillar">
  <a class="heading-anchor" href="#part-5-the-specs-by-pillar" aria-label="Copy link to this section">#</a>
  Part 5: The Specs by Pillar
</h2>
<h3 id="pillar-1-foundations-and-modern-baseline">
  <a class="heading-anchor" href="#pillar-1-foundations-and-modern-baseline" aria-label="Copy link to this section">#</a>
  Pillar 1: Foundations and Modern Baseline
</h3>
<h4 id="oauth-20-authorization-framework-rfc-6749">
  <a class="heading-anchor" href="#oauth-20-authorization-framework-rfc-6749" aria-label="Copy link to this section">#</a>
  OAuth 2.0 Authorization Framework (<a href="https://datatracker.ietf.org/doc/html/rfc6749">RFC 6749</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Defines the core roles, endpoints, and grant flows so a client can access protected resources on a user&rsquo;s behalf without handling the user&rsquo;s password.</li>
<li><strong>Key mechanism:</strong> Authorization Code, Client Credentials, Refresh Token, plus legacy Implicit and Password grants.</li>
<li><strong>Pairs well with:</strong> RFC 6750, RFC 7636, and RFC 9700.</li>
</ul>
<h4 id="bearer-token-usage-rfc-6750">
  <a class="heading-anchor" href="#bearer-token-usage-rfc-6750" aria-label="Copy link to this section">#</a>
  Bearer Token Usage (<a href="https://datatracker.ietf.org/doc/html/rfc6750">RFC 6750</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Standardizes how bearer tokens are sent to resource servers and how error responses are returned.</li>
<li><strong>Key mechanism:</strong> <code>Authorization: Bearer &lt;token&gt;</code> header and <code>WWW-Authenticate</code> challenges.</li>
<li><strong>Pairs well with:</strong> RFC 6749 when simple bearer transport is sufficient, or RFC 8705 and RFC 9449 when sender constraining is needed.</li>
</ul>
<h4 id="proof-key-for-code-exchange--pkce-rfc-7636">
  <a class="heading-anchor" href="#proof-key-for-code-exchange--pkce-rfc-7636" aria-label="Copy link to this section">#</a>
  Proof Key for Code Exchange / PKCE (<a href="https://datatracker.ietf.org/doc/html/rfc7636">RFC 7636</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Prevents an attacker from intercepting or injecting an authorization code and exchanging it for tokens.</li>
<li><strong>Key mechanism:</strong> A per-request <code>code_verifier</code>, its SHA-256 <code>code_challenge</code> sent during authorization, and verification during the token exchange.</li>
<li><strong>Pairs well with:</strong> RFC 6749 and RFC 9700. In practice, you should use it across all authorization code clients, not only public ones.</li>
</ul>
<h4 id="oauth-20-security-best-current-practice-rfc-9700-and-oauth-21-draft">
  <a class="heading-anchor" href="#oauth-20-security-best-current-practice-rfc-9700-and-oauth-21-draft" aria-label="Copy link to this section">#</a>
  OAuth 2.0 Security Best Current Practice (<a href="https://datatracker.ietf.org/doc/html/rfc9700">RFC 9700</a>) and OAuth 2.1 (<a href="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1">Draft</a>)
</h4>
<ul>
<li><strong>Status:</strong> BCP RFC / Active Draft consolidation</li>
<li><strong>What it solves:</strong> Pulls together years of hard-won operational lessons so teams do not accidentally implement known anti-patterns.</li>
<li><strong>Key mechanism:</strong> RFC 9700 requires PKCE for public clients and recommends it for all others, mandates exact redirect URI matching, forbids the Resource Owner Password Credentials grant, discourages Implicit, and tightens refresh token handling. The OAuth 2.1 draft goes further by requiring PKCE for every authorization code client and removing both the Implicit and Password grants.</li>
<li><strong>Pairs well with:</strong> RFC 9449 and RFC 9126.</li>
</ul>
<h3 id="pillar-2-token-lifecycle-and-representation">
  <a class="heading-anchor" href="#pillar-2-token-lifecycle-and-representation" aria-label="Copy link to this section">#</a>
  Pillar 2: Token Lifecycle and Representation
</h3>
<h4 id="jwt-profile-for-oauth-20-access-tokens-rfc-9068">
  <a class="heading-anchor" href="#jwt-profile-for-oauth-20-access-tokens-rfc-9068" aria-label="Copy link to this section">#</a>
  JWT Profile for OAuth 2.0 Access Tokens (<a href="https://datatracker.ietf.org/doc/html/rfc9068">RFC 9068</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Gives resource servers a predictable JWT structure for access tokens instead of guessing proprietary claim names.</li>
<li><strong>Key mechanism:</strong> <code>at+jwt</code> media type with standard claims (<code>iss</code>, <code>exp</code>, <code>aud</code>, <code>sub</code>, <code>client_id</code>, <code>iat</code>, <code>jti</code>) alongside authorization claims like <code>scope</code> or roles.</li>
<li><strong>Pairs well with:</strong> RFC 8414 for key discovery, and RFC 8705 or RFC 9449 for <code>cnf</code> claims.</li>
</ul>
<h4 id="token-introspection-rfc-7662">
  <a class="heading-anchor" href="#token-introspection-rfc-7662" aria-label="Copy link to this section">#</a>
  Token Introspection (<a href="https://datatracker.ietf.org/doc/html/rfc7662">RFC 7662</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Lets a resource server ask the authorization server whether a token is still active, which is especially useful for opaque tokens or high-sensitivity APIs.</li>
<li><strong>Key mechanism:</strong> Authenticated <code>POST</code> to the introspection endpoint returning <code>active</code> plus associated token metadata.</li>
<li><strong>Pairs well with:</strong> Opaque tokens and RFC 7009.</li>
</ul>
<h4 id="token-revocation-rfc-7009">
  <a class="heading-anchor" href="#token-revocation-rfc-7009" aria-label="Copy link to this section">#</a>
  Token Revocation (<a href="https://datatracker.ietf.org/doc/html/rfc7009">RFC 7009</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Provides a standard way for a client to tell the authorization server to invalidate a refresh token or access token when a session ends or a risk occurs.</li>
<li><strong>Key mechanism:</strong> Authenticated <code>POST</code> to the revocation endpoint with the token and an optional <code>token_type_hint</code>.</li>
<li><strong>Pairs well with:</strong> RFC 7662 and short-lived access tokens backed by revocable refresh tokens.</li>
</ul>
<h3 id="pillar-3-sender-constrained-tokens-and-request-integrity">
  <a class="heading-anchor" href="#pillar-3-sender-constrained-tokens-and-request-integrity" aria-label="Copy link to this section">#</a>
  Pillar 3: Sender-Constrained Tokens and Request Integrity
</h3>
<h4 id="mutual-tls-client-certificate-bound-access-tokens-rfc-8705">
  <a class="heading-anchor" href="#mutual-tls-client-certificate-bound-access-tokens-rfc-8705" aria-label="Copy link to this section">#</a>
  Mutual-TLS Client Certificate-Bound Access Tokens (<a href="https://datatracker.ietf.org/doc/html/rfc8705">RFC 8705</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Authenticates clients with TLS certificates and ties issued tokens to that certificate so a leaked token cannot be replayed from another client.</li>
<li><strong>Key mechanism:</strong> Mutual TLS authentication and the <code>cnf</code> claim carrying an <code>x5t#S256</code> certificate thumbprint.</li>
<li><strong>Pairs well with:</strong> Workload identities, B2B APIs, and strict enterprise or financial profiles.</li>
</ul>
<h4 id="demonstrating-proof-of-possession--dpop-rfc-9449">
  <a class="heading-anchor" href="#demonstrating-proof-of-possession--dpop-rfc-9449" aria-label="Copy link to this section">#</a>
  Demonstrating Proof of Possession / DPoP (<a href="https://datatracker.ietf.org/doc/html/rfc9449">RFC 9449</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC (formerly <code>draft-fett-oauth-dpop</code>)</li>
<li><strong>What it solves:</strong> Brings sender-constrained tokens to SPAs, native apps, and environments where end-to-end mTLS is impractical.</li>
<li><strong>Key mechanism:</strong> Client signs a short-lived <code>DPoP</code> proof JWT per request bound to HTTP method, URI, and token hash, paired with a <code>cnf</code> (<code>jkt</code>) key thumbprint on the token.</li>
<li><strong>Pairs well with:</strong> RFC 7636, RFC 9068, and RFC 9126.</li>
</ul>
<h4 id="jwt-secured-authorization-request--jar-rfc-9101">
  <a class="heading-anchor" href="#jwt-secured-authorization-request--jar-rfc-9101" aria-label="Copy link to this section">#</a>
  JWT-Secured Authorization Request / JAR (<a href="https://datatracker.ietf.org/doc/html/rfc9101">RFC 9101</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Protects authorization request parameters from tampering or spoofing on the front channel by wrapping them in a signed, and optionally encrypted, JWT.</li>
<li><strong>Key mechanism:</strong> Sending a request object JWT via <code>request</code> or <code>request_uri</code> on the authorization endpoint.</li>
<li><strong>Pairs well with:</strong> RFC 9126 and RFC 9396.</li>
</ul>
<h4 id="pushed-authorization-requests--par-rfc-9126">
  <a class="heading-anchor" href="#pushed-authorization-requests--par-rfc-9126" aria-label="Copy link to this section">#</a>
  Pushed Authorization Requests / PAR (<a href="https://datatracker.ietf.org/doc/html/rfc9126">RFC 9126</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Moves authorization parameters off the browser query string and onto a direct back-channel call before redirecting the user.</li>
<li><strong>Key mechanism:</strong> Client <code>POST</code>s to the PAR endpoint (advertised as <code>pushed_authorization_request_endpoint</code> in server metadata), gets back a short-lived <code>request_uri</code>, and sends only that reference in the browser redirect.</li>
<li><strong>Pairs well with:</strong> RFC 9101, RFC 9396, and RFC 9449.</li>
</ul>
<h3 id="pillar-4-fine-grained-authorization-delegation-and-constrained-devices">
  <a class="heading-anchor" href="#pillar-4-fine-grained-authorization-delegation-and-constrained-devices" aria-label="Copy link to this section">#</a>
  Pillar 4: Fine-Grained Authorization, Delegation, and Constrained Devices
</h3>
<h4 id="rich-authorization-requests--rar-rfc-9396">
  <a class="heading-anchor" href="#rich-authorization-requests--rar-rfc-9396" aria-label="Copy link to this section">#</a>
  Rich Authorization Requests / RAR (<a href="https://datatracker.ietf.org/doc/html/rfc9396">RFC 9396</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC (formerly <code>draft-ietf-oauth-rar</code>)</li>
<li><strong>What it solves:</strong> Lets clients express structured, context-rich permissions instead of stuffing transaction amounts, account IDs, or actions into flat scope strings.</li>
<li><strong>Key mechanism:</strong> <code>authorization_details</code> JSON array passed through authorization, token issuance, and token claims.</li>
<li><strong>Pairs well with:</strong> RFC 9126 so detailed JSON payloads do not bloat front-channel URLs, and RFC 9101.</li>
</ul>
<h4 id="token-exchange-rfc-8693">
  <a class="heading-anchor" href="#token-exchange-rfc-8693" aria-label="Copy link to this section">#</a>
  Token Exchange (<a href="https://datatracker.ietf.org/doc/html/rfc8693">RFC 8693</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Allows a service, gateway, or agent to trade an incoming token for a new token scoped to a downstream target while preserving delegation or impersonation context.</li>
<li><strong>Key mechanism:</strong> <code>urn:ietf:params:oauth:grant-type:token-exchange</code> at the token endpoint and nested <code>act</code> claims tracking who is acting for whom.</li>
<li><strong>Pairs well with:</strong> Service-to-service architectures, API gateways, and multi-hop agent workflows.</li>
</ul>
<h4 id="device-authorization-grant-rfc-8628">
  <a class="heading-anchor" href="#device-authorization-grant-rfc-8628" aria-label="Copy link to this section">#</a>
  Device Authorization Grant (<a href="https://datatracker.ietf.org/doc/html/rfc8628">RFC 8628</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Lets devices with limited input or no browser, such as smart TVs, CLI tools, or appliances, complete authorization through another device.</li>
<li><strong>Key mechanism:</strong> Device requests a device code and user code, displays a verification URI and code, and polls the token endpoint while the user approves elsewhere.</li>
<li><strong>Pairs well with:</strong> RFC 8414 for advertising the device authorization endpoint.</li>
</ul>
<h3 id="pillar-5-client-authentication-and-enterprise-assertions">
  <a class="heading-anchor" href="#pillar-5-client-authentication-and-enterprise-assertions" aria-label="Copy link to this section">#</a>
  Pillar 5: Client Authentication and Enterprise Assertions
</h3>
<h4 id="assertion-framework-rfc-7521">
  <a class="heading-anchor" href="#assertion-framework-rfc-7521" aria-label="Copy link to this section">#</a>
  Assertion Framework (<a href="https://datatracker.ietf.org/doc/html/rfc7521">RFC 7521</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Defines the common pattern for using signed assertions rather than shared secrets both to authenticate clients and to request authorization grants.</li>
<li><strong>Key mechanism:</strong> Assertion type and assertion parameters on the token endpoint for client authentication or assertion grants.</li>
<li><strong>Pairs well with:</strong> RFC 7523 and RFC 7522.</li>
</ul>
<h4 id="jwt-profile-for-client-authentication-and-authorization-grants-rfc-7523">
  <a class="heading-anchor" href="#jwt-profile-for-client-authentication-and-authorization-grants-rfc-7523" aria-label="Copy link to this section">#</a>
  JWT Profile for Client Authentication and Authorization Grants (<a href="https://datatracker.ietf.org/doc/html/rfc7523">RFC 7523</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Uses signed JWTs as assertions so confidential clients and workloads can authenticate with asymmetric keys or exchange external JWTs for OAuth tokens.</li>
<li><strong>Key mechanism:</strong> Short-lived signed JWT sent as <code>client_assertion</code> or via <code>urn:ietf:params:oauth:grant-type:jwt-bearer</code>.</li>
<li><strong>Pairs well with:</strong> Workload identity federation and RFC 8414.</li>
</ul>
<h4 id="saml-20-profile-for-client-authentication-and-authorization-grants-rfc-7522">
  <a class="heading-anchor" href="#saml-20-profile-for-client-authentication-and-authorization-grants-rfc-7522" aria-label="Copy link to this section">#</a>
  SAML 2.0 Profile for Client Authentication and Authorization Grants (<a href="https://datatracker.ietf.org/doc/html/rfc7522">RFC 7522</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Connects SAML 2.0 identity providers with OAuth 2.0 APIs when enterprise authentication already produces SAML assertions.</li>
<li><strong>Key mechanism:</strong> Encoded SAML 2.0 assertion passed to the token endpoint using the SAML 2.0 bearer grant or client assertion type.</li>
<li><strong>Pairs well with:</strong> Enterprise SSO and legacy federation migrations.</li>
</ul>
<h3 id="pillar-6-discovery-client-lifecycle-and-identity-layer">
  <a class="heading-anchor" href="#pillar-6-discovery-client-lifecycle-and-identity-layer" aria-label="Copy link to this section">#</a>
  Pillar 6: Discovery, Client Lifecycle, and Identity Layer
</h3>
<h4 id="authorization-server-metadata-rfc-8414">
  <a class="heading-anchor" href="#authorization-server-metadata-rfc-8414" aria-label="Copy link to this section">#</a>
  Authorization Server Metadata (<a href="https://datatracker.ietf.org/doc/html/rfc8414">RFC 8414</a>)
</h4>
<ul>
<li><strong>Status:</strong> Published RFC</li>
<li><strong>What it solves:</strong> Standardizes a metadata document so clients and resource servers can find endpoints, supported features, and JWKS keys without hardcoding everything.</li>
<li><strong>Key mechanism:</strong> <code>GET /.well-known/oauth-authorization-server</code> returning JSON metadata.</li>
<li><strong>Pairs well with:</strong> Almost every OAuth extension that adds an endpoint or capability flag.</li>
</ul>
<h4 id="dynamic-client-registration-rfc-7591-and-dynamic-client-registration-management-protocol-rfc-7592">
  <a class="heading-anchor" href="#dynamic-client-registration-rfc-7591-and-dynamic-client-registration-management-protocol-rfc-7592" aria-label="Copy link to this section">#</a>
  Dynamic Client Registration (<a href="https://datatracker.ietf.org/doc/html/rfc7591">RFC 7591</a>) and Dynamic Client Registration Management Protocol (<a href="https://datatracker.ietf.org/doc/html/rfc7592">RFC 7592</a>)
</h4>
<ul>
<li><strong>Status:</strong> RFC 7591 is Standards Track (Proposed Standard). RFC 7592 is Experimental, so check that your authorization server actually supports it.</li>
<li><strong>What it solves:</strong> Lets clients register themselves programmatically (RFC 7591) and read, update, or remove that registration later (RFC 7592).</li>
<li><strong>Key mechanism:</strong> Registration endpoint returning a client ID and a registration access token for managing client metadata.</li>
<li><strong>Pairs well with:</strong> Open ecosystems, federation, and dynamic client onboarding.</li>
</ul>
<h4 id="openid-connect-oidc-core-10">
  <a class="heading-anchor" href="#openid-connect-oidc-core-10" aria-label="Copy link to this section">#</a>
  OpenID Connect (<a href="https://openid.net/specs/openid-connect-core-1_0.html">OIDC Core 1.0</a>)
</h4>
<ul>
<li><strong>Status:</strong> OpenID Foundation Specification</li>
<li><strong>What it solves:</strong> Adds user authentication and identity claims on top of OAuth 2.0, answering who the user is rather than only what API access was granted.</li>
<li><strong>Key mechanism:</strong> <code>openid</code> scope, signed ID token JWT, <code>/userinfo</code> endpoint, and OpenID discovery metadata.</li>
<li><strong>Pairs well with:</strong> RFC 7636, RFC 8414, and RFC 9126.</li>
</ul>
<hr>
<h2 id="part-6-four-combinations-that-show-up-all-the-time">
  <a class="heading-anchor" href="#part-6-four-combinations-that-show-up-all-the-time" aria-label="Copy link to this section">#</a>
  Part 6: Four Combinations That Show Up All the Time
</h2>
<p>Specs usually make the most sense when you see them working together on a real flow.</p>
<ol>
<li><strong>Browser SPA or mobile app:</strong> Authorization Code (<code>RFC 6749</code>) + PKCE (<code>RFC 7636</code>) + DPoP (<code>RFC 9449</code>) + OpenID Connect. You avoid shipping a static client secret, verify the user&rsquo;s identity cleanly, and keep tokens bound to a client-held key.</li>
<li><strong>High-value or regulated transaction:</strong> PAR (<code>RFC 9126</code>) + JAR (<code>RFC 9101</code>) + RAR (<code>RFC 9396</code>) + DPoP (<code>RFC 9449</code>) or mTLS (<code>RFC 8705</code>). You push signed, structured <code>authorization_details</code> over the back-channel, keep the browser redirect clean, and bind the resulting token.</li>
<li><strong>Workload or backend service:</strong> Client Credentials (<code>RFC 6749</code>) + <code>private_key_jwt</code> (<code>RFC 7523</code>) or mTLS (<code>RFC 8705</code>) + JWT Access Tokens (<code>RFC 9068</code>). You drop shared secrets, use short-lived tokens with standard claims, and let resource servers validate locally.</li>
<li><strong>Multi-hop service or agent delegation:</strong> Token Exchange (<code>RFC 8693</code>) + JWT Access Tokens (<code>RFC 9068</code>) with <code>act</code> claims + DPoP (<code>RFC 9449</code>) or mTLS (<code>RFC 8705</code>). A caller or agent can get a narrower token for the next hop without carrying broad permissions everywhere, while keeping an audit trail of who acted on whose behalf.</li>
</ol>
<hr>
<h2 id="conclusion">
  <a class="heading-anchor" href="#conclusion" aria-label="Copy link to this section">#</a>
  Conclusion
</h2>
<p>If there is one thing I hope you take from this map, it is that nobody needs to carry the full list of OAuth RFC numbers in their head. I certainly don&rsquo;t. What helps is knowing which problem you are looking at, which pillar it belongs to, and then reaching for the specs that fit. The numbers can be looked up. The architectural judgment is the part worth practicing.</p>
<p>I also want to be honest about what this is. It is a map, not the territory. Real deployments have legacy constraints, vendor quirks, and compliance requirements that no tidy table will capture. The combinations in Part 6 are starting points for a conversation in a design review, not prescriptions. Where your environment pushes back, trust that signal and adapt.</p>
<p>I wrote this for the IAM practitioners and architects who, like me, keep getting pulled into those &ldquo;which RFC do we use here?&rdquo; discussions. If it saves you a few minutes of translating numbers back into capabilities, or helps you explain a design choice to a colleague, then it did its job.</p>
<p>The standards landscape keeps moving, with OAuth 2.1 still consolidating and new work emerging around delegation and agents, so I expect to revisit and refine this map over time. If you spot something missing, outdated, or just wrong, I would genuinely like to hear about it.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Why Identity Practitioners Should Join Industry Communities</title>
      <link>https://victorh.dev/blog/idpro-community-and-contributions/</link>
      <pubDate>Wed, 11 Nov 2026 01:05:03 -0700</pubDate>
      <dc:creator>Victor Hernandez Guzman</dc:creator>
      <guid isPermaLink="true">https://victorh.dev/blog/idpro-community-and-contributions/</guid>
      <description>Reflecting on my work with IDPro, from publishing on agent identity thresholds to contributing to the Body of Knowledge on passkeys, and why active community engagement is the ultimate edge for IAM practitioners.</description><content:encoded><![CDATA[<aside class="callout callout--tldr" aria-label="TL;DR">
  <p class="callout__label"><svg class="icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M8 6h13M8 12h13M8 18h13"/><path d="M3 6h.01M3 12h.01M3 18h.01"/></svg><span>TL;DR</span></p>
  <div class="callout__body">
    <ul>
      <li>Identity architecture cannot happen in isolation: peer review and standard-building are part of the work.</li>
      <li>The Body of Knowledge turns production patterns into guidance other teams can deploy.</li>
      <li>Community work keeps your mental models current long before a trend reaches the mainstream.</li>
    </ul>
  </div>
</aside>
<p>Digital identity (IAM) is undergoing a profound architectural shift. For decades, our security models were built around predictable perimeters: human users logging in with passwords and multi-factor prompts, and static service accounts operating behind closed corporate networks. Today, that perimeter has dissolved. We are navigating an era defined by non-human identities, autonomous AI agents, passkeys, and decentralized zero-trust workloads.</p>
<p>True innovation in identity architecture cannot happen in isolation. Translating complex distributed systems challenges into robust, enterprise-grade solutions requires rigorous peer review, collaborative standard-building, and active engagement with professional communities. For me, <strong>IDPro</strong> (The Association for Identity Professionals) has been the premier home for this work.</p>
<hr>
<h2 id="from-theory-to-production-recent-published-work">
  <a class="heading-anchor" href="#from-theory-to-production-recent-published-work" aria-label="Copy link to this section">#</a>
  From Theory to Production: Recent Published Work
</h2>
<p>Earlier this year, I had the opportunity to explore these shifts in depth through my published IDPro article, <a href="https://idpro.org/from-non-human-identity-nhi-to-agent-identity-defining-the-identity-threshold/">From Non-Human Identity (NHI) to Agent Identity: Defining the Identity Threshold</a>.</p>
<p>As organizations rush to deploy autonomous agents and AI-driven automation, traditional service account governance falls short. Service accounts lack lifecycle context, delegation boundaries, and fine-grained authorization guarantees. In that piece, I examined the transition from traditional NHIs to true agent identity, proposing a practical framework to handle identity thresholds, composite tokens, and automated machine-to-machine trust. Writing for IDPro allowed me to bridge the gap between abstract protocol design and the real-world operational realities faced by security architects every day.</p>
<h2 id="collaborating-on-the-body-of-knowledge-passkeys-and-webauthn">
  <a class="heading-anchor" href="#collaborating-on-the-body-of-knowledge-passkeys-and-webauthn" aria-label="Copy link to this section">#</a>
  Collaborating on the Body of Knowledge: Passkeys and WebAuthn
</h2>
<p>Beyond blogging, I am actively contributing to the <strong>IDPro Body of Knowledge (BoK)</strong> alongside co-author David Treece, focusing on an enterprise practitioner guide to passkeys and WebAuthn architecture.</p>
<p>Having spent years working on authentication infrastructure, from developing early WebAuthn implementations and multi-platform authentication flows during my time at Microsoft to designing cloud-scale identity systems at Salesforce and DocuSign, seeing the evolution of passwordless standards has been incredible. However, there is a wide chasm between a W3C specification and a successful enterprise-wide passkey rollout. Contributing to the BoK is about codifying those production-grade patterns into actionable guidance that engineers, architects, and CISOs can actually deploy and trust.</p>
<h2 id="the-high-value-ripple-effect-networking-and-cutting-edge-trends">
  <a class="heading-anchor" href="#the-high-value-ripple-effect-networking-and-cutting-edge-trends" aria-label="Copy link to this section">#</a>
  The High-Value Ripple Effect: Networking and Cutting-Edge Trends
</h2>
<p>One of the most rewarding aspects of engaging deeply with IDPro isn&rsquo;t just the output; it&rsquo;s the ecosystem.</p>
<ul>
<li><strong>World-Class Technical Networking:</strong> IDPro serves as a unique nexus for connecting with brilliant technical minds, security leaders, product managers, and governance experts who are actively shaping the discipline. Whether discussing workload identity standards like WIMSE and SPIFFE/SPIRE or debating token exchange architectures, the caliber of peer interaction is exceptional.</li>
<li><strong>The Inadvertent Edge:</strong> When you actively participate in a community driven by practitioners, you stay on the cutting edge of the industry almost by default. Engaging in peer reviews, collaborative drafting, and technical working groups exposes you to paradigm shifts and emerging enterprise challenges long before they hit mainstream adoption. It forces you to sharpen your own mental models and keeps your day-to-day architectural work grounded in the broader industry trajectory.</li>
</ul>
<h2 id="looking-ahead">
  <a class="heading-anchor" href="#looking-ahead" aria-label="Copy link to this section">#</a>
  Looking Ahead
</h2>
<p>The identity landscape will only accelerate over the coming years as AI agents become first-class citizens in enterprise workflows, requiring sophisticated non-human identity governance and zero-trust authorization frameworks.</p>
<p>Contributing to IDPro, through articles, standards work, and practitioner guides, has been an incredible way to give back to the community that shaped my career in cloud-scale IAM. If you&rsquo;re a practitioner working in identity, security, or distributed systems, finding your way into these collaborative spaces is one of the highest-leverage investments you can make in your craft.</p>
]]></content:encoded>
    </item>
    <item>
      <title>The Security Threshold: When an NHI Becomes an AI Agent</title>
      <link>https://victorh.dev/blog/nhi-to-agentidentity/</link>
      <pubDate>Mon, 26 Oct 2026 01:05:03 -0700</pubDate>
      <dc:creator>Victor Hernandez Guzman</dc:creator>
      <guid isPermaLink="true">https://victorh.dev/blog/nhi-to-agentidentity/</guid>
      <description>Enterprise IAM treats machine identities as predictable workloads, but AI agents choose their own actions at runtime. This article offers a three-part threshold test: model-directed control flow, runtime capability binding, and delegated human authority across hops. It describes the four failures that follow when agents run on service accounts, and shows how a task-bound, short-lived composite token fixes them.</description><content:encoded><![CDATA[<aside class="callout callout--tldr" aria-label="TL;DR">
  <p class="callout__label"><svg class="icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M8 6h13M8 12h13M8 18h13"/><path d="M3 6h.01M3 12h.01M3 18h.01"/></svg><span>TL;DR</span></p>
  <div class="callout__body">
    <ul>
      <li>A workload becomes an agent when a model picks the next action, capabilities bind at runtime, and it carries human authority across hops.</li>
      <li>Running agents on service accounts produces four predictable failures.</li>
      <li>The fix is a task-bound, short-lived composite token.</li>
    </ul>
  </div>
</aside>
<p>Enterprise IAM was built for people: onboarding employees, wiring up SAML/OIDC single sign-on, enforcing MFA. In most cloud environments, the identities that matter now belong to software. Machine identities outnumber humans 100 to 1 or more, and every one of them was designed around a single assumption: the code behind it does the same thing every time.</p>
<p>AI agents break that assumption. This piece proposes a test for when a non-human identity (NHI) stops being a workload and becomes an agent, and says what changes once it does.</p>
<h2 id="the-baseline-what-nhi-handles-well">
  <a class="heading-anchor" href="#the-baseline-what-nhi-handles-well" aria-label="Copy link to this section">#</a>
  The baseline: what NHI handles well
</h2>
<p>The mature workload identity toolkit looks like this:</p>
<ul>
<li><strong>Service principals and API keys:</strong> non-person accounts tied to an application or an OAuth 2.0 client credentials grant.</li>
<li><strong>Workload identity federation:</strong> short-lived tokens bound to infrastructure (cloud-provider workload identities, platform-managed service accounts, SPIFFE/SPIRE SVIDs) so no secret is hardcoded.</li>
<li><strong>Static access policies:</strong> coarse RBAC or ABAC scoped to predictable workload boundaries.</li>
</ul>
<p>This works because traditional software is predictable. A payment microservice follows a known code path, calls a fixed set of internal APIs, and needs the same permissions every time.</p>
<h2 id="what-changes-when-software-chooses-its-own-actions">
  <a class="heading-anchor" href="#what-changes-when-software-chooses-its-own-actions" aria-label="Copy link to this section">#</a>
  What changes when software chooses its own actions
</h2>
<p>Workload identity proves which software is running. Through SPIFFE/SPIRE, platform-managed identities or mutual TLS, it verifies that a specific container, binary hash or cloud instance is executing. For static automation, that is enough.</p>
<p>For an agent, it isn&rsquo;t. The same instance, with the same cryptographic identity at startup, can be steered by a prompt or an intermediate model output into very different operations. Workload identity cannot tell you whether <em>this</em> action, in <em>this</em> context, under <em>this</em> delegation chain, should be allowed.</p>
<p>So the question changes. &ldquo;Is this microservice authenticated?&rdquo; stops being the one that matters. The question becomes: who or what is acting, under whose authority, from which environment, with what scope, and with what verifiable evidence?</p>
<h2 id="the-threshold-test">
  <a class="heading-anchor" href="#the-threshold-test" aria-label="Copy link to this section">#</a>
  The threshold test
</h2>
<p>Three questions sort workloads from agents.</p>
<h3 id="test-1-does-a-model-choose-the-next-action">
  <a class="heading-anchor" href="#test-1-does-a-model-choose-the-next-action" aria-label="Copy link to this section">#</a>
  Test 1: Does a model choose the next action?
</h3>
<p>An LLM that produces varying <em>text</em> inside a fixed pipeline doesn&rsquo;t count. What counts is model-directed control flow: the system uses non-deterministic reasoning to plan and pick actions, so the sequence of operations can&rsquo;t be mapped before it runs.</p>
<ul>
<li><strong>Standard NHI:</strong> the branches and possible actions are hardcoded. Inputs vary; the set of actions doesn&rsquo;t.</li>
<li><strong>Agent:</strong> the model decides what happens next.</li>
</ul>
<h3 id="test-2-are-capabilities-bound-at-runtime">
  <a class="heading-anchor" href="#test-2-are-capabilities-bound-at-runtime" aria-label="Copy link to this section">#</a>
  Test 2: Are capabilities bound at runtime?
</h3>
<ul>
<li><strong>Standard NHI:</strong> downstream APIs, queries and integrations are fixed at deployment, so OAuth scopes and IAM roles can be declared up front and bound at startup.</li>
<li><strong>Agent:</strong> the software queries a tool registry, reads schema descriptions, and decides which endpoints to call based on intermediate results. Privileges have to be evaluated at the moment of action, not granted at boot.</li>
</ul>
<h3 id="test-3-does-it-act-with-delegated-human-authority-across-hops">
  <a class="heading-anchor" href="#test-3-does-it-act-with-delegated-human-authority-across-hops" aria-label="Copy link to this section">#</a>
  Test 3: Does it act with delegated human authority across hops?
</h3>
<ul>
<li><strong>Standard NHI:</strong> the service acts as its own principal (a synchronization daemon, say) or completes a single-hop user action.</li>
<li><strong>Agent:</strong> it acts for a person while coordinating with sub-agents or third-party platforms. The resulting operation has to be attributable to both the initiating human and the specific agent instance.</li>
</ul>
<h3 id="how-to-apply-the-results">
  <a class="heading-anchor" href="#how-to-apply-the-results" aria-label="Copy link to this section">#</a>
  How to apply the results
</h3>
<p>Tests 1 and 2 together make an entity an agent. If both are true, a workload identity alone is the wrong tool. Test 3 adds a second requirement: whenever an entity acts on a person&rsquo;s behalf, it needs delegation controls that preserve and bound that person&rsquo;s authority.</p>
<p>That gives three outcomes:</p>
<ul>
<li><strong>Fails Tests 1 and 2, passes Test 3:</strong> a deterministic service doing token exchange. It needs delegation controls, not a full agent identity.</li>
<li><strong>Passes Tests 1 and 2, fails Test 3:</strong> an autonomous agent with no human principal. This is arguably the riskiest case, because nobody&rsquo;s authority bounds it. It needs its own agent identity with a named, accountable owner.</li>
<li><strong>Passes all three:</strong> a full agent identity with composite attribution.</li>
</ul>
<p>A few examples (illustrative; adjust to your own environment):</p>
<table>
	<thead>
			<tr>
					<th>System</th>
					<th>Test 1</th>
					<th>Test 2</th>
					<th>Test 3</th>
					<th>Verdict</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Nightly billing reconciliation job</td>
					<td>No</td>
					<td>No</td>
					<td>No</td>
					<td>NHI</td>
			</tr>
			<tr>
					<td>Fixed pipeline: OCR, LLM summary, database write</td>
					<td>No (output varies, control flow doesn&rsquo;t)</td>
					<td>No</td>
					<td>No</td>
					<td>NHI, plus output validation</td>
			</tr>
			<tr>
					<td>Support agent choosing from a tool registry for a logged-in user</td>
					<td>Yes</td>
					<td>Yes</td>
					<td>Yes</td>
					<td>Agent identity</td>
			</tr>
			<tr>
					<td>Scheduled research agent, no human principal</td>
					<td>Yes</td>
					<td>Yes</td>
					<td>No</td>
					<td>Agent identity with an accountable owner</td>
			</tr>
	</tbody>
</table>
<h2 id="what-breaks-when-an-agent-runs-on-a-workload-identity">
  <a class="heading-anchor" href="#what-breaks-when-an-agent-runs-on-a-workload-identity" aria-label="Copy link to this section">#</a>
  What breaks when an agent runs on a workload identity
</h2>
<p>It is tempting to give a new agent a service principal, a static OAuth client ID or a long-lived API key. Teams do it because it is the path they already know. Past the threshold, the identity layer goes blind to execution context, and four failures follow.</p>
<p><strong>Delegation dilution.</strong> When an agent hands sub-tasks to tools, services or peer agents, the initiating human&rsquo;s identity is usually replaced by the calling service&rsquo;s. Downstream systems see only the agent process. Accountability fades, and authorization falls back on generic machine trust. The opposite mistake is just as bad: the agent inherits the user&rsquo;s full authorization context and bypasses segregation of duties.</p>
<p><strong>Confused deputy.</strong> Workloads typically hold standing permissions for several functions. An agent that reads tainted input, such as an indirect prompt injection, can use its legitimate credentials to reach data or trigger actions nobody intended.</p>
<p><strong>Autonomous privilege creep.</strong> When dynamic tool use hits an authorization wall, a static identity leaves two options: fail the pipeline or pre-grant broad roles. Operators pick the broad roles. Each new tool the agent learns to use then widens the blast radius without any step-up consent. One mis-prompted output can wipe a database, change user roles or move money.</p>
<p><strong>Rogue or escaped execution.</strong> Credentials bound to a runtime process, rather than to a time-bounded intent, outlive the task. A compromised sandbox or runaway reasoning loop keeps working, spawning resources or retaining access after the user session ends. Ephemeral sub-agents make this worse: they live for seconds, and provisioning built around weekly rotation can&rsquo;t keep up with them.</p>
<p>OWASP&rsquo;s Top 10 for LLM Applications calls the underlying condition Excessive Agency: an agent holding more functionality, permissions or autonomy than its task needs. Identity design is where that excess is either granted or prevented.</p>
<h2 id="what-an-agent-identity-looks-like">
  <a class="heading-anchor" href="#what-an-agent-identity-looks-like" aria-label="Copy link to this section">#</a>
  What an agent identity looks like
</h2>
<p>Trust has to move from static startup tokens to short-lived, task-derived credentials that bind three things: the human initiator, the specific agent instance, and the declared task. A token along these lines (modeled on the <code>act</code> claim for delegation in RFC 8693) shows the idea:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-json" data-lang="json"><span style="display:flex;"><span>{
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">&#34;sub&#34;</span>: <span style="color:#e6db74">&#34;user:alice@example.com&#34;</span>,
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">&#34;act&#34;</span>: { <span style="color:#f92672">&#34;sub&#34;</span>: <span style="color:#e6db74">&#34;agent:invoice-reconciler/instance-7f3a&#34;</span> },
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">&#34;task&#34;</span>: <span style="color:#e6db74">&#34;reconcile-q3-invoices&#34;</span>,
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">&#34;scope&#34;</span>: <span style="color:#e6db74">&#34;invoices:read&#34;</span>,
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">&#34;exp&#34;</span>: <span style="color:#ae81ff">300</span>
</span></span><span style="display:flex;"><span>}
</span></span></code></pre></div><p>The human is the subject, the agent instance is the actor, the task is declared, the scope is narrow, and the credential expires in minutes. Each downstream hop narrows the scope further rather than widening it. With these in the token, identity teams can enforce segregation of duties and least privilege even when the execution path can&rsquo;t be predicted.</p>
<h2 id="the-choice">
  <a class="heading-anchor" href="#the-choice" aria-label="Copy link to this section">#</a>
  The choice
</h2>
<p>Agents are coming either way. The only open question is whether you govern them with an identity plane built for agency, or let excessive agency write your threat model.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
