[OAUTH-WG] Re: Proposal for Delegation Authorization with DPoP Tokens Using RFC 8707 Resource Indicators and may_act claim

Kieran Sweeney <kieran@kierans.net> Thu, 08 October 2026 02:55 UTC

Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id A8C4442 for <oauth@ietf.org>; Thu, 08 Oct 2026 02:55:31 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=kierans.net header.s=google header.b=nRNDdXCv; spf=pass (mx.ietf.org: domain of kieran@kierans.net designates 2607:f8b0:4864:20::831 as permitted sender) smtp.mailfrom=kieran@kierans.net; arc=pass ("google.com:s=arc-20260327:i=1"); dmarc=none
Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-533972e0cccso23815761cf.0 for <oauth@ietf.org>; Wed, 07 Oct 2026 19:55:31 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1791428131; cv=none; d=google.com; s=arc-20260327; b=IUVlodt/3uYlXXmOpw9KFzpeelSmSvJHc4yop9RKHQ06RY7U2eV0U5wFnaeh9AtfnT tDlhYjoCeiWxqu+bGgc/3Db/od/XPsVhna0FpMkb8wPyEgfiW1I34YOX2j8Kx8zabxd6 s3Rr1KPB4mTR0sfvnAh+ujokrvSuzecNmZjU+Q9bvX2RlokQk+8lhq97EBOgs8AXp79N 1UEM1Ym51vfgEWWZPEQplOjFv4Kymbgm036z/nEkUf2h15R8Sbgmr3gHJLykcS1H1vsN BXdZT3GFUCorxvbZvOFajeXN/8N/LawuGq/iXc74cYHePSMxJrYmFCPuZlE/y2GyRDkF 7Nnw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=oU0OH/xi8TRDYtYmx7nbknjuaxjF+NTIGU9WV9QsW1w=; fh=Q4/eNnoPX0zAIYuJ4357K8emkz0UaB0v1Sx2FPNOViQ=; b=aygZ7nKB6le63bvsKFZDMsDYPFpVOTA2Vp41TJzI888VguTfgb0ZT+E02bOpuNoFGc 6gfwwbvTDQCHyIcMnvQaYAO4qFjJXbN5CqEvX+oBGQ7+sPaBSyaFs3IioqAINIcuYzNe vbqZC/gNB8yURSx86f4JMlq9cic70Sq25N+b+dvOWNTYRRp8mXfeucxEPZJUWebkmLgA LWPR7WBpLOHOxSiNfYSwu7ngAS9BgahHOy7zTAYiDeqJ2ovBvh4dUOaM/mC4ZgGWzHVM gB9Lua0FPlxPbBv9T6qVeB2vbCvwcyMIY7eUXkNEvKQzPpSBFkLQTYq8ipWvM+tbid0y ck1A==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kierans.net; s=google; t=1791428131; x=1792032931; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=oU0OH/xi8TRDYtYmx7nbknjuaxjF+NTIGU9WV9QsW1w=; b=nRNDdXCvghgK0sm8Lgbbh85ZMdfffs/x/EymL+jfaiN+QsQznY59TN4ZP3dIsKSr78 27cfemAdnA0tUwpyUNqe/Wg/K4l3xH4AF6cz1gF5Zmhm4kAtfwfL1Op9LKBiN8g9rXEj H6jLwLFs0+39TvI8WIbzqWBAV5souAO5/cCsl8rjhgUhm5qJLM6BcdWbDr0bAV7+u+cW SKid+yc/UB8LWEv/oUSFAlUTbg9y7kJ9qXsm0PIhVrybtHy+kumGc/Z9JWAW8Oa6p7Wo ZyXQ9pciQ9s6XAWkNTUiORhSAmCs1hR4lAuS8a7MKM9XiSKEGWcyA/+rpkwlNROG1Lj0 Tt9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791428131; x=1792032931; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=oU0OH/xi8TRDYtYmx7nbknjuaxjF+NTIGU9WV9QsW1w=; b=BDub1OlDvAsIc/xO3ooEeGhDh8n89N9o0YSv0dttgOVqyIRrEvUr/Olz5jKAGxmt9F g9uMlB1UgiSINBd8vSPL+K+O6HOGukZ88Cqa/cvBAhlYN2Dp6ln9dFMF+kvUgE163E9S HQFjZVODZLb/puYo7DCis9tMAddu+9klBbIM6P4nEV4Fan45zxWa+641pEHBINenjNEI MLccqgkRh/wGlto8AOHh350hKKm/m0W5B355J9/O+JfG7tgY+WOkxmbxtEr8f74m3OkV 6TxBX7S8t+h+fn1qwq0E5jLZwbOC6zSVyzFWHU5um282B2z6/p9Gz/x4M8zXdcJGUs7m Z+EQ==
X-Gm-Message-State: AFuF++mCbUIVvylfIUhhLyBjRsmrDpFM+dXjfBOLUqgj0ZMBnG61a4Wr POF1q7JShFGONY30shDuJNvRGXBLW/ba/RrEUzInbCXb3jVT3C6/adYwqCTvAHogl4nfcu+JPfA 8jfLQcGj+rTNjZ6+eAeh7YwX1cr7VyvWqdJEny2lb9iVKPAO1TSywvck=
X-Gm-Gg: AYBFou3rx5F018Hp5LrkiLyQsB5WGGsADwLym5lk8HdUBIpO0KqC38T/QRXl4k5vJMI N4Acoci+516L7bSp66mYyWFD19XYdS0B4N3iGjLGpJ6CobQvRdWzRRYProj+Luz4x05CG0Sm7M8 EXpjgh0yoG7heWeHR43ZrsdrzJ9gqMkVuVcSeNQp+u/1DY0TZLN17uJNlSr6izNsyrBGz3f8qY9 5qh6zIofJFZWsXSlHL9COV2Zdzuqbr7jBdWTjWSJFVLh71IW8vSE0vJjAnn3xHGf5/siGYDiesi L3p+QVBWcqgL7n9l/olZUhrIbxOqDUwNmheRvY3NgwZAE/LK0nt0932TCpte30pMSU8jl1KCL0y +Dep86aaMTpdyIdSOELK2PLFpdo3dWla97l+CFAeuVC6BGgD+q0MMFexqt/yiE7zFbhsOUTY=
X-Received: by 2002:a05:622a:38d:b0:535:2c94:a86e with SMTP id d75a77b69052e-5357531f680mr73294621cf.10.1791428131023; Wed, 07 Oct 2026 19:55:31 -0700 (PDT)
MIME-Version: 1.0
References: <CALnUWkqY5UY93okj2zLmGXP6yyYeMYeV0un9hsvQ7TudQA+twA@mail.gmail.com> <VI0PR04MB11841D445C7DC77F7A3E7510293B62@VI0PR04MB11841.eurprd04.prod.outlook.com>
In-Reply-To: <VI0PR04MB11841D445C7DC77F7A3E7510293B62@VI0PR04MB11841.eurprd04.prod.outlook.com>
From: Kieran Sweeney <kieran@kierans.net>
Date: Wed, 07 Oct 2026 22:55:17 -0400
X-Gm-Features: AclHuK-_cIApsoqZgF_YMekt31SkDpYRu8PGAbjPAqb_ksLXbvdhM7gexEh71PY
Message-ID: <CALnUWkoBb5tw9OAwk-uX=O7iQk84bgKBi97yUwJ0iR7yMhRYGQ@mail.gmail.com>
To: oauth@ietf.org
Content-Type: multipart/alternative; boundary="0000000000006401af065d4b5df1"
X-Spamd-Bar: -----------
Message-ID-Hash: QOFE43OBDJB4RBGOIB64626BKUZB5CZW
X-Message-ID-Hash: QOFE43OBDJB4RBGOIB64626BKUZB5CZW
X-MailFrom: kieran@kierans.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-oauth.ietf.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: yaron.zehavi@rbinternational.com
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [OAUTH-WG] Re: Proposal for Delegation Authorization with DPoP Tokens Using RFC 8707 Resource Indicators and may_act claim
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/TAPiX-nCq7mOlaR8bsCxU81y0FQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Owner: <mailto:oauth-owner@ietf.org>
List-Post: <mailto:oauth@ietf.org>
List-Subscribe: <mailto:oauth-join@ietf.org>
List-Unsubscribe: <mailto:oauth-leave@ietf.org>

Yaron,

That is the right shape. The party named in may_act is the RS in its role
as a client, the exchanging AS still decides on the client identity it
authenticated, and may_act supplies only the indirection. Three refinements
before it goes into a draft.

First, the members of may_act are claims (RFC 8693 Section 4.4), so
protected_resource_metadata is a new claim and needs a JWT Claims
registration; the draft can carry that. But where the RS uses a client ID
metadata document identifier
(draft-ietf-oauth-client-id-metadata-document), no indirection is needed at
all:

"may_act": { "client_id": "
https://www.google.com/url?q=https://api.example.com/oauth-client&source=gmail&ust=1791409237867000&sa=E"
}

That uses the client_id claim RFC 8693 Section 4.3 already registers, the
identifier is the same at every AS by construction, and the exchanging AS
compares it directly against the authenticated client. I would write the
draft that way round: the CIMD identifier is the primary form, and the PRM
pointer is the compatibility form for an RS still registered under AS-local
identifiers.

Second, dereferencing at exchange time puts a network fetch on the token
endpoint's critical path and makes the binding exactly as strong as the
transport to the PRM host. For the compatibility form, require RFC 9728
signed_metadata to carry token_exchange_clients, or at least let the AS pin
the signing key, and state a cache lifetime, since a stale
token_exchange_clients list is a stale authorization. You already have the
AS checking that the PRM resource value matches the subject token's
audience. Add that the URL in may_act must be the one Section 3 of RFC 9728
derives from that resource identifier, so a token cannot point the AS at
someone else's metadata document.

Third, selection within token_exchange_clients: the AS picks the entry
whose client_namespace equals its own issuer identifier, by exact match,
and ignores every other entry. A missing entry for the exchanging AS means
deny. Say that explicitly, so no implementation falls back to "any entry
matches".

With those, the profile stays what you said it should be: an authorization
decision on authenticated client identity, with may_act as a trusted
pointer to where the binding lives.

Kieran Sweeney

On Thu, Sep 03, 2026 03:43 PM, Yaron ZEHAVI <
yaron.zehavi@rbinternational.com> wrote:

> Dear Kieran,
>
>
>
> Thanks, this helps clarify the model.
>
>
>
> I agree that binding may_act to the resource URI alone provides no
> validated match to the party performing token exchange.
> Instead, the binding should be either to keys the resource server controls
> or to the RS's client_id at the exchanging AS.
>
> That points to the RFC 9728 protected resource metadata URI as the right
> anchor.
>
>
>
> The issuing AS would not need to know every AS-local client_id the RS uses.
>
> It only needs to include the protected resource metadata URI in may_act as
> party identifier:
>
>
>
>   "may_act": {
>
>     "protected_resource_metadata":
>
>       https://api.example.com/.well-known/oauth-protected-resource
>
>   }
>
>
>
> The protected resource metadata could then carry the RS's token-exchange
> client identifiers, scoped by authorization server namespace or denote a
> CIMD client_id:
>
>
>
>   "token_exchange_clients": [
>
>     {
>
>       "client_namespace": https://as-a.example,
>
>       "client_id": "rs-client-at-as-a"
>
>     },
>
>     {
>
>       "client_namespace": https://as-b.example,
>
>       "client_id": "rs-client-at-as-b"
>
>     },
>
>     {
>
>       "client_namespace": "cimd",
>
>       "client_id": https://api.example.com/oauth-client
>
>     }
>
>   ]
>
>
>
> At exchange time, the AS would dereference the protected resource metadata,
>
> verify that its resource value corresponds to the subject token's
> aud/resource,
>
> select the token_exchange_clients entry for its own issuer or use CIMD if
> provided,
>
> and compare that client_id with the authenticated client making the token
> exchange request.
>
>
>
> So the authorization decision remains based on authenticated client
> identity, while may_act only provides a trusted indirection point to
> discover the correct binding.
>
>
>
> Yaron
>
>
>
> Classification: GENERAL
>
> *From:* Kieran Sweeney <kieran@kierans.net>
> *Sent:* Thursday, September 3, 2026 5:02 PM
> *To:* oauth@ietf.org
> *Cc:* Yaron ZEHAVI <yaron.zehavi@rbinternational.com>
> *Subject:* Re: [OAUTH-WG] Proposal for Delegation Authorization with DPoP
> Tokens Using RFC 8707 Resource Indicators and may_act claim
>
>
>
> You don't often get email from kieran@kierans.net. Learn why this is
> important <https://aka.ms/LearnAboutSenderIdentification>
>
> This message is from an external sender - be cautious, particularly with
> links and attachments.
>
>
>
> Yaron,
>
> The gap is real. RFC 8693 leaves the question of who may exchange a
> DPoP-bound token entirely to unstated AS policy, and a standard way to
> pre-approve the exchanging party closes an actual hole in RS-to-RS
> delegation.
>
> Two corrections before this becomes a draft.
>
> First, may_act is the wrong container for a resource. RFC 8693 Section 4.4
> defines may_act as a statement about a party authorized to become the
> actor, identified the way subjects are identified. Putting a resource URI
> inside it changes the registered semantics of the claim. Keep the
> downstream resource in the resource parameter and the aud of the exchanged
> token, where RFC 8707 already puts it, and put the RS that is authorized to
> perform the exchange in may_act as a party identifier. That expresses
> exactly your policy with no semantic overload.
>
> Second, client_uri cannot carry the match. RFC 7591 Section 2 defines it
> as a URL for a human-readable page about the client. It is informational,
> self-asserted, and unvalidated. Matching it against anything in an
> authorization decision imports an unvetted value into policy. The AS should
> match the authenticated client_id of the party presenting the exchange
> request against the party named in may_act, which it already verified
> through client authentication.
>
> With those two changes this is a clean profile of RFC 8693 plus RFC 9449,
> needs no new claims, and any authorization server or middleware can
> implement it without coordination beyond the token itself. That last
> property is worth preserving deliberately.
>
> Kieran Sweeney
> This message and any attachment ("the Message") are confidential. If you
> have received the Message in error, please notify the sender immediately
> and delete the Message from your system, any use of the Message is
> forbidden. Correspondence via e-mail is primarily for information purposes.
> RBI neither makes nor accepts legally binding statements via e-mail unless
> explicitly agreed otherwise. Information pursuant to § 14 Austrian
> Companies Code: Raiffeisen Bank International AG; Registered Office: Am
> Stadtpark 9, 1030 Vienna, Austria; Company Register Number: FN 122119m at
> the Commercial Court of Vienna (Handelsgericht Wien).
>