Repository navigation
Events: align with AAuth Protocol -11 and prepare -00 - #207
Merged
Merged
Conversation
Subscribe token takes the place of whichever token the agent otherwise presents; token failures in Signature-Key answer 401 with Signature-Error; an expired event token fails verification; event delivery with a body covers content-digest and content-type; the resource verifies AP metadata and deduplicates on (iss, eid); agent identifiers compare case-sensitively; protocol citations name -11 sections. IANA registers the two media types and the eid and max_uses claims. Removed the fixed date and pointed the R3 reference at the datatracker. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GF34pBFY1fXuHBTFPMrqRN
This was referenced Sep 25, 2026
Event token carries body_s256, REQUIRED with a body; the AP delivers the body unchanged, and the AP and agent verify it. Subscribe token carries a REQUIRED jti. An aud mismatch at the AP is 401 invalid_jwt. A resource applies egress admission before fetching AP metadata or posting to event_endpoint. Privacy Considerations state the agent identifier and AP disclosure to the resource and the AP's view of subscribed resources, against -11. Protected subscriptions bind to a person. Dropped the JSON Web Token Types table (#214); the media type registrations carry typ. Recorded in the -00 Document History. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GF34pBFY1fXuHBTFPMrqRN
Owner
Author
|
Applied the decisions in f79f833:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns AAuth Events with the published AAuth Protocol -11 and prepares it for first submission as -00. Only
draft-hardt-aauth-events.mdchanges. Section numbers below are Events (E) and Protocol -11 (P).Changes
date = 2026-07-05…, so the submission is dated on the day it is submitted.I-D.hardt-aauth-r3target is nowhttps://datatracker.ietf.org/doc/draft-hardt-aauth-r3. Protocol and Bootstrap were already datatracker URLs.event_endpointat delivery time. It previously said it stores theevent_endpoint, which contradicted E 5 and E 6.3.event_endpoint.401withSignature-Error(P 11.3.4, P 11.5.2). This is the family rule for tokens inSignature-Key.mission_xyz. Missions are identified bymission_s256(P 8).dwk: a resource that delivers events makes signed calls, so its metadata carriesjwks_uri(P 11.2.4).aud: agent identifiers are compared exactly and case-sensitively (P 5.2; -11 allows uppercase inlocal).Content-Digestheader it already covered. New normative sentence: when event delivery carries a body, the signature MUST covercontent-digestandcontent-type. This follows the P 11.3.3.1 rule and the P C.2.4 rationale for the revocation endpoint, an endpoint defined by the spec rather than by the server's own API. The example already did it. Check this one: it is a new MUST.isslocates the AP's metadata (the subscribe token's). The paragraph before it discusses the event token'siss.expis in the future"). Step 1's Common JWT Verification (P 11.5.2) already checks it. The error sentence now says401withSignature-Errorfor a failing event token or HTTP signature, an expired event token included (P 11.3.4). The 404 paragraph and the 429 reasoning (PR Events: exhausted subscription is 410 Gone, not 429 #194) are unchanged. The 429 paragraph now names P 11.9.4 Polling Error Codes and P 11.12.3 Revocation Response.exphas passed, the agent SHOULD NOT act" is now "fails this step … MUST NOT act on it". This matches E 8.1 (MUST NOT) and P 11.5.2 (noexptolerance).jti, which the earlier -11 pass added to the token.(iss, eid)rather thaneid. Aneidis unique only within its AP. This parallels(iss, jti)in P 11.12.1.application/aa-subscribe+jwtandapplication/aa-event+jwt(P 15.5 template). Thetyptable now cites P 15.6, which lists both values as registered by Events. Addseidandmax_usesto the JWT Claims registry, as P 15.7, R3, and Budgets do for their claims.Document History
Nothing in the draft said it had not been submitted, and nothing said what happens to the log at first submission. So the -00 list stays. I added one bullet at the top for this -11 alignment round. The existing "Referenced … by their datatracker document URLs" bullet now includes R3.
Needs a decision
self-jwtvs P 11.3.2. P 11.3.2 says a PS, AS, AP, or resource "making a signed AAuth request in its own right … MUST use thejwks_urischeme". Event delivery (E 9.1) is a resource signing in its own right, and it usesself-jwt. P 11.3.4 step 4 also says to reject "any scheme this profile does not use" withunsupported_scheme. There are two ways to fix it. (a) The protocol scopes the MUST to requests it defines, or names the Events exception. (b) Events moves tojwks_uriand carries the event token elsewhere. E A.7 explainsself-jwtagainstjwtbut not againstjwks_uri.iss,sub) and the event token (aud) give the resource the agent identifier and its AP. -11 withholds both in person identity, PS authorization, and federated authorization access (P 4.2.1, P C.1.6). In a protected subscription, the ticket's thumbprint binding also links that identifier to the person's(iss, sub). E 13.1 calls this "the intended property". Keep it and say so against -11, or change it, for example with a pairwisesuband anaudthat is not the agent identifier.audand the event tokeniss. P C.2.8 keeps exactly this from the AP. It is inherent to AP-as-inbox. Decide whether E 12.6 or E 13 should say so.event_endpoint. A resource POSTs to a URL chosen by whoever runs the "AP". Neither E 12 nor the egress admission rules cover this, because P 11.4 and sig-key only cover metadata and JWKS fetches. Proposed text: "Before fetching the AP's metadata or posting to itsevent_endpoint, a resource applies egress admission ([@!I-D.hardt-httpbis-signature-key], Scheme-Specific Risks)."jti. Every -11 token has one, for audit and revocation (P 11.5.1). No revocation is defined for subscribe tokens. Low priority.audmismatch) has no status code. E 7.2 step 1 accepts only a person token or auth token, which excludes agent identity and resource-managed (session token) access. That may be intended.🤖 Generated with Claude Code
https://claude.ai/code/session_01GF34pBFY1fXuHBTFPMrqRN