Repository navigation
R3: align with AAuth Protocol -11 and prepare -00 - #204
Merged
Merged
Conversation
- R3 fetch signed under the jwks_uri scheme (Keying Material); entitled PS is the resource token's ps, from the auth token on a per-call challenge - display is resource-asserted content (Consent Presentation) - AS Processing verifies per Resource Token Verification; drop the AS reached other than by a PS-to-AS token request - per-call auth token exp capped by the presented auth token; 410 exception at the pending URL (Pending URL Security) - ladder rests on person token or auth token before a resource token - runtime requirement may arrive on a 202 - JWT claim registrations name a change controller - remove fixed date; sibling references target the datatracker; Document History preamble no longer says unsubmitted Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GF34pBFY1fXuHBTFPMrqRN
… session-token, delivery check - agent-token operations: satisfied by a person or auth token only where the resource does not decide on the agent identifier - late per-call approval: expired_presented_token, top-down refresh, resubmit, PS SHOULD apply the recorded approval; 202 re-requested - r3_operations MAY replace scope at the authorization endpoint - name the auth token's issuer (PS three-party, AS four-party); AS Processing renamed Issuer Processing - session-token annotation ban: a session token carries no R3 grant - Auth Token Delivery: PS checks R3 claims in the AS's auth token, as_unreachable on failure Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GF34pBFY1fXuHBTFPMrqRN
Owner
Author
|
Applied the six decisions in 2cd8097:
All six are recorded in the -00 Document History. Build: |
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.
Review of
draft-hardt-aauth-r3.mdagainst the published AAuth Protocol -11, and preparation for its first datatracker submission as -00. Onlydraft-hardt-aauth-r3.mdchanges.Changes, with the -11 section behind each
r3_urisigns as a server in its own right, under thejwks_urischeme withidset to itsissuer, and the resource identifies the signer byid. -11 §11.3.2 Keying Material.ps: the person token'siss, or on a step-up or per-call challenge the auth token'sps. -11 §6.7.1 Resource Token Structure.r3_uri. Said only the AS fetches it. Now says the AS and the PS fetch it with a signed request, pointing at the access restriction. -11 §11.3.2.displayis resource-asserted content, which the PS visually distinguishes from the agent'sjustification. -11 §7.4 Consent Presentation, which names the R3displaysection.presented_tokenper Resource Token Verification. -11 §6.7.2.agent_tokenparameter. -11 §9.3 PS-AS Federation, §9.1.1 PS-to-AS Token Request, Why No Agent Identifier Reaches a Resource.presented_token, and the per-call auth token expires no later than that auth token. -11 §7.2.1 Auth Token Request, §9.4.1 Auth Token Structure.202, the pending URL answers a repeated presentation from the retained record, not with410 Gone, until retention ends. -11 §13.2 Pending URL Security, which names R3 per-call grants. Step 1 now cites Deferred Delivery by name (-11 §6.5.1).401" now covers a401or a202, sincerequirement=auth-tokenmay be delivered as a202. -11 §6.5.1.accountfield (Resource Metadata §11.2.4, Authorization Endpoint §6.6, Account Binding §11.11). Every section name cited exists in -11.Checked with no change needed: no
AAuth-Mission,approver,missionobject,agent/actclaims,token_endpoint,aauth-access-token,invalid_agent_token,login_endpoint,EdDSA, or old mode names. Examples useEd25519,aa-person+jwtat the authorization endpoint, and resource/auth token claims per -11 §6.7.1 and §9.4.1.per-callis registered in the AAuth Access Mode Value Registry (-11 §15.11) in that registry's format, and satisfies the §15.12 expert criteria. R3 cites no RFC 8941, defines no error codes, and never requestssubviarequirement=claims.Submission prep
date = 2026-07-11T00:00:00Zfrom the front matter.I-D.hardt-aauth-eventsandI-D.hardt-aauth-budgetsnow targethttps://datatracker.ietf.org/doc/draft-hardt-aauth-eventsand.../draft-hardt-aauth-budgets.draft-hardt-aauth-r3-00". It says nothing about resetting the log at submission. So I removed "This document has not been submitted to the datatracker.", changed "which becomes" to "which is", and kept the -00 list. This pass is recorded as a new first bullet. The earlier bullet about "an AS reached any other way" is left as written; the new bullet records its removal.Build:
make draft-hardt-aauth-r3.txtsucceeds. xml2rfc gives the same 41 warnings asmain(long lines in examples, the Vocabulary Summary table width). None are new.Needs a decision
Driven by -11:
agent-tokenoperations. -11 says no person token or auth token carries an agent identifier ("a decision keyed on the agent identifier holds in the two-party modes and nowhere else", Why No Agent Identifier Reaches a Resource). §6.1 answers a request that did not present an agent token withrequirement=agent-token. Access Mode Annotation still says a credential satisfying a later value satisfies an earlier one, so an auth token or person token satisfies anagent-tokenoperation. That holds only where the operation's decision is not keyed on the agent identifier. One option: the ladder coversperson-tokenandauth-token, and anagent-tokenoperation takes the agent token. The other: keep the ladder and state the limit. Left unchanged.expat thepresented_token's. On a per-call challenge that is the auth token the agent carried. R3 describesper-callas the operations that block on a person. If the person answers after that auth token has expired, there are two outcomes:expired_presented_token, or a per-call token that is born expired. R3 does not say what the agent or the resource does then, especially under202, where the held invocation would be lost.scopeis REQUIRED at the authorization endpoint (§6.6). R3'sr3_operationsexample sends noscope. §6.7.1 already lets R3 replacescopein the resource token. Either R3 states thatr3_operationsMAY be sent in place ofscope, or the protocol relaxes §6.6.Predate -11:
r3_grantedandr3_per_call. In PS authorization access (§4.2.4) the PS issues the auth token. The access restriction section already treatsaud= PS.session-tokenMUST NOT appear in an annotation. The rationale is "a resource that manages its own authorization does so for the whole resource". That contradicts -11 §6 and Why Five Resource Access Modes: a resource MAY handle authorization itself for any request and apply different modes per endpoint. The rule is R3's to keep. Only the rationale conflicts.scopeis no broader than the resource token's. R3 defines no matching check thatr3_uri/r3_s256match the resource token, or thatr3_granted/r3_per_callfall within the document'soperations.Possible problems in the protocol spec (not changed here)
auth-tokenwith status401only. The §6 table and §6.5.1 allow401or202.scopeREQUIRED, but §6.7.1 says a companion spec may replacescope, "as R3 does" (item 3 above).requirement=agent-token(§6.1). See item 1 above.presented_tokenexpires before issuance. Call chaining has one: it ends withexpired(§10.1.1). See item 2 above.I-D.hardt-aauth-r3andI-D.hardt-aauth-eventsreferences still target GitHub, not the datatracker.🤖 Generated with Claude Code
https://claude.ai/code/session_01GF34pBFY1fXuHBTFPMrqRN