Web Authorization Protocol J. Cadena Internet-Draft Cadena Core Group Intended status: Standards Track 2 December 2026 Expires: 5 June 2027 The task_basis Claim: Recording the Basis on Which a Task Was Created draft-cadena-oauth-task-basis-00 Abstract OAuth tokens can say who a task is for and which software is acting. No registered claim says how the task came to be created: whether a person took part, a preconfigured trigger fired, or the requesting software started it itself. Resource servers and auditors need that fact to apply different scrutiny to requests that are otherwise identical. This document defines the "task_basis" JSON Web Token (JWT) claim. The claim records the basis on which the issuer created a task. It has three values: "human", "schedule", and "agent". The issuer asserts the value from what it observed when the task was created, and never from what a client or agent says about itself. The value is bound to a task identifier, the "txn" claim, so that a continuation of the same task carries the same value across refresh and OAuth 2.0 Token Exchange, and new work gets a value of its own. This document also says how resource servers treat a missing value, and requires that the value only ever restrict what a token allows. About This Document This note is to be removed before publishing as an RFC. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-cadena-oauth-task-basis/. Discussion of this document takes place on the Web Authorization Protocol Working Group mailing list (mailto:oauth@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/oauth/. Subscribe at https://www.ietf.org/mailman/listinfo/oauth/. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Cadena Expires 5 June 2027 [Page 1] Internet-Draft task_basis Claim December 2026 Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 5 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Conventions and Terminology . . . . . . . . . . . . . . . . . 5 3. The task_basis Claim . . . . . . . . . . . . . . . . . . . . 6 3.1. Values . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.2. What "human" Means . . . . . . . . . . . . . . . . . . . 6 3.3. Task Identifier . . . . . . . . . . . . . . . . . . . . . 7 4. Issuer Processing . . . . . . . . . . . . . . . . . . . . . . 7 4.1. Creating a Task . . . . . . . . . . . . . . . . . . . . . 7 4.2. Determining the Value . . . . . . . . . . . . . . . . . . 8 4.2.1. "human" . . . . . . . . . . . . . . . . . . . . . . . 8 4.2.2. "schedule" . . . . . . . . . . . . . . . . . . . . . 8 4.2.3. "agent" . . . . . . . . . . . . . . . . . . . . . . . 9 4.3. No Default . . . . . . . . . . . . . . . . . . . . . . . 9 4.4. Values Supplied in a Request . . . . . . . . . . . . . . 9 4.5. Task Age . . . . . . . . . . . . . . . . . . . . . . . . 9 5. Continuation and New Tasks . . . . . . . . . . . . . . . . . 9 5.1. Test for Continuation . . . . . . . . . . . . . . . . . . 10 5.2. Effect of a Continuation . . . . . . . . . . . . . . . . 10 5.3. Refresh Tokens . . . . . . . . . . . . . . . . . . . . . 10 5.4. New Task from Inside a Task . . . . . . . . . . . . . . . 11 Cadena Expires 5 June 2027 [Page 2] Internet-Draft task_basis Claim December 2026 5.5. No Change Toward "human" . . . . . . . . . . . . . . . . 11 5.6. Tokens from Another Issuer . . . . . . . . . . . . . . . 12 5.7. Tokens Derived by a Holder . . . . . . . . . . . . . . . 12 5.8. Transaction Tokens . . . . . . . . . . . . . . . . . . . 12 6. Resource Server Processing . . . . . . . . . . . . . . . . . 13 6.1. The Value Only Restricts . . . . . . . . . . . . . . . . 13 6.2. Examples of Policy . . . . . . . . . . . . . . . . . . . 13 7. Token Introspection . . . . . . . . . . . . . . . . . . . . . 14 8. Audit Records . . . . . . . . . . . . . . . . . . . . . . . . 14 9. Security Considerations . . . . . . . . . . . . . . . . . . . 14 9.1. The Issuer Asserts the Value . . . . . . . . . . . . . . 15 9.2. What "human" Is Worth . . . . . . . . . . . . . . . . . . 15 9.3. Wrong Values . . . . . . . . . . . . . . . . . . . . . . 15 9.4. Continuation Errors . . . . . . . . . . . . . . . . . . . 15 9.5. Refresh Tokens and Task Age . . . . . . . . . . . . . . . 16 9.6. Trigger Evidence . . . . . . . . . . . . . . . . . . . . 16 9.7. Offline Derivation . . . . . . . . . . . . . . . . . . . 16 9.8. Omission . . . . . . . . . . . . . . . . . . . . . . . . 16 9.9. Using the Value in Decisions . . . . . . . . . . . . . . 17 9.10. What the Claim Does Not Do . . . . . . . . . . . . . . . 17 10. Privacy Considerations . . . . . . . . . . . . . . . . . . . 17 11. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 17 11.1. JSON Web Token Claims Registration . . . . . . . . . . . 17 11.2. OAuth Token Introspection Response Registration . . . . 18 11.3. Task Basis Values Registry . . . . . . . . . . . . . . . 18 12. References . . . . . . . . . . . . . . . . . . . . . . . . . 19 12.1. Normative References . . . . . . . . . . . . . . . . . . 19 12.2. Informative References . . . . . . . . . . . . . . . . . 20 Appendix A. Examples . . . . . . . . . . . . . . . . . . . . . . 24 A.1. A Task That a Person Took Part in Creating . . . . . . . 24 A.2. The Same Work Started by a Timer . . . . . . . . . . . . 24 A.3. Continuation Through Token Exchange . . . . . . . . . . . 25 A.4. A New Task That Software Started . . . . . . . . . . . . 25 Appendix B. Relationship to Related Work . . . . . . . . . . . . 26 Appendix C. Open Issues . . . . . . . . . . . . . . . . . . . . 29 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 30 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 30 1. Introduction OAuth tokens identify a subject and, when delegation is in use, an actor [RFC8693]. Two requests can carry the same subject, the same actor, and the same scope, and still differ in one way that matters to the party that must decide or later explain the access: * a person took part in starting this work just now; Cadena Expires 5 June 2027 [Page 3] Internet-Draft task_basis Claim December 2026 * a timer fired, and the work runs under a permission the person gave some time ago; or * the requesting software, while doing other work, started this work itself. Each case carries a different amount of fresh human involvement. An operator may want to allow a payment that a person just approved, hold the same payment for approval when a nightly job requests it, and apply a tighter limit when software started it without being asked. Existing work covers parts of this. Transaction Tokens [I-D.ietf-oauth-transaction-tokens] and the agent extension to Transaction Tokens [I-D.araut-oauth-transaction-tokens-for-agents] describe transactions that a trigger starts as well as transactions that a request or a subject starts, and leave the token consumer to infer which applies. The "auth_time" claim (Section 2.2.1 of [RFC9068]) is fixed for every token that derives from a grant. Individual drafts define fields for nearby facts: who operated one action [I-D.aravind-oauth-operator-of-record], the execution context of an originator inside one type of authorization details object [I-D.jiang-oauth-intent-admission], the basis of an approval, kept at the authorization server [I-D.mcguinness-oauth-mission], how a user's agreement was obtained, in a token that resource servers do not see [I-D.chen-oauth-agent-intent-token], and the basis of each payment decision, written to a receipt [I-D.craig-oauth-rar-payment-mandates]. A use case analysis for agent authorization [I-D.chen-oauth-agent-authz-use-cases] lists telling classes of caller apart, and signalling that a user is present, among open gaps. Appendix B compares each of these with the claim defined here. None of these is a registered claim that describes the task, travels in the tokens a resource server validates, and has rules for what happens to it across refresh and token exchange. This document defines that claim. The document is deliberately small. It does not define delegation chain formats, approval, or how an authorization decision is computed. It relies on one existing claim, "txn" [RFC8417], to identify the task. It can be used with JWT access tokens [RFC9068], with Transaction Tokens, and with the delegation profiles discussed in Appendix B. One limit is stated here. The value "human" means that a person took part, at the issuer, in creating the task. It does not prove that the person asked for the work. Section 3.2 explains why. Cadena Expires 5 June 2027 [Page 4] Internet-Draft task_basis Claim December 2026 The claim was first described in [CADENA2026], under the name "initiated_by". That description did not include the task identifier, the continuation rules, or the evidence rules defined here. Section 3.2 gives the reason for the change of name. 2. Conventions and Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. This document uses the terms "authorization server", "client", "resource server", "access token", and "refresh token" from [RFC6749], and "claim" from [RFC7519]. Task: A unit of work for which an issuer issues one or more tokens under one task identifier. Task identifier: The value of the "txn" claim [RFC8417] in the tokens issued for a task. Where Transaction Tokens are used, the transaction is the task and its "txn" value is the task identifier. Issuer: The party that creates and signs a token containing the claim defined here. This is an authorization server, or a Transaction Token Service when Transaction Tokens are used. Requester: The client or workload that makes a token request. Human interaction: A step that the issuer itself completes with a natural person during the request that creates a task: authenticating the person, or obtaining the person's approval of that request. A response that the issuer produces without prompting the person, for example on the basis of an existing session and stored consent, is not a human interaction. Where a grant spans several messages, such as an authorization request followed by a token request, "the request" means the whole exchange. Preconfigured trigger: A timer or event rule that was set up before the task existed and that starts tasks, when it fires, without a human interaction. Scheduler: A client or service that the issuer's configuration designates as one whose function is to start tasks when preconfigured triggers fire. Cadena Expires 5 June 2027 [Page 5] Internet-Draft task_basis Claim December 2026 Task authority: The authority established when a task is created: what the person approved in the human interaction, or what configuration allows the scheduler or the requester to do. Continuation: A token request that the issuer accepts, under Section 5.1, as part of a task that already exists. 3. The task_basis Claim 3.1. Values The "task_basis" claim states the basis on which the issuer created the task for which the token was issued: what the issuer observed when the task came to exist. Its value is a case-sensitive string. This document defines three values: "human": The issuer completed a human interaction as part of the request that created the task. "schedule": A preconfigured trigger created the task, the issuer verified that under Section 4.2, and no human interaction took place. "agent": The requester created the task itself. No human interaction took place and no preconfigured trigger was verified. The values are written in lower case. A string that differs only in case is a different, unknown value. Further values can be registered (Section 11.3). The value names a kind of basis. It is not an identifier and does not name the person, trigger, or software involved. The "sub" claim and the "act" claim [RFC8693] continue to identify the parties. The value describes the task, not the token and not the most recent party to handle the token. It is set once, when the task is created, and stays the same for the life of the task. Section 5 gives the rules. A token MUST NOT contain "task_basis" with a value that is not a string. 3.2. What "human" Means The value "human" states that a person took part, at the issuer, in creating the task. It does not state that the person asked for the work, chose its details, or understood them. Cadena Expires 5 June 2027 [Page 6] Internet-Draft task_basis Claim December 2026 This follows from what an issuer can observe. In the interactive OAuth grants, the client starts the request and the person authenticates or approves: the authorization code grant [RFC6749], the device authorization grant [RFC8628], and backchannel authentication [CIBA] all work this way. The issuer observes the person's part. It does not observe who decided that the work should happen. For that reason the claim is not named for who initiated the task, as it was in [CADENA2026]. It is named for the basis on which the issuer created the task: a human interaction, a verified trigger, or the requester's own request. Other work uses "basis" in the same sense (Appendix B). An approval that the issuer obtains while it creates a task is part of creating the task, and the value is "human". An approval of a later action inside a task that already exists does not change how that task was created and does not change the value. How approval of individual actions is represented is out of scope. 3.3. Task Identifier A token that contains "task_basis" MUST also contain the "txn" claim (Section 2.2 of [RFC8417]). The "txn" value identifies the task that the "task_basis" value describes. The issuer assigns the task identifier when it creates the task. It MUST NOT assign the same value to two tasks. Every token issued for the task carries a "txn" value that identifies that task. An issuer normally uses one value per task; Section 10 describes when it can use more than one. 4. Issuer Processing 4.1. Creating a Task An issuer creates a task when it issues a token in response to a request that is not a continuation (Section 5.1). When it creates a task, the issuer: * assigns a task identifier (Section 3.3); * determines the "task_basis" value (Section 4.2); * records the task authority; and * records the time. Cadena Expires 5 June 2027 [Page 7] Internet-Draft task_basis Claim December 2026 4.2. Determining the Value The issuer determines the value when it creates the task. It uses only what it observed or verified in the request that creates the task. 4.2.1. "human" An issuer MUST NOT assert "human" unless it completed a human interaction as part of the request that created the task. None of the following is a human interaction: * authentication of a client, a requester, or an agent; * a "sub" claim that identifies a person; * use of a refresh token, or of any other grant that was obtained in an earlier human interaction; * an authorization response that the issuer returns without prompting the person, whatever grant type is in use; * a statement by another party that a person asked for the work. Such a statement shows neither that the person was authenticated nor that the person approved the request. An issuer that relies on another party to authenticate the person can count the result as a human interaction only if it has evidence that the other party interacted with the person for this request, for example an authentication time later than the start of the request. When the human interaction included authenticating the person, the issuer SHOULD include the "auth_time" claim (Section 2.2.1 of [RFC9068]) in tokens issued for the task. 4.2.2. "schedule" An issuer MUST NOT assert "schedule" unless no human interaction took place and one of the following is true: * the issuer itself operates the preconfigured trigger; * the requester is a scheduler; or * the request carries evidence, which the issuer verifies, that a preconfigured trigger operated by a scheduler fired. An assertion signed by the scheduler is an example. The format of this evidence is out of scope. Cadena Expires 5 June 2027 [Page 8] Internet-Draft task_basis Claim December 2026 4.2.3. "agent" An issuer asserts "agent" when it has authenticated the requester, the request creates a task, and the conditions for "human" and for "schedule" are not met. The value is named for the case that motivates it. It applies to any requester, whether or not the software would be described as an agent. The issuer does not need to classify the software. As a result, a task that a preconfigured trigger started, but for which the issuer has no evidence of the trigger, is reported as "agent". So is a task that a person asked another party to start, when the issuer itself did not interact with the person. This is intended. A wrong "agent" causes more scrutiny than needed. A wrong "human" causes less scrutiny than needed. 4.3. No Default There is no default value. If the issuer cannot determine a value under Section 4.2, for example because it has not authenticated the requester, it MUST omit the claim. In particular, an issuer MUST NOT assert "human" because no other value was determined. 4.4. Values Supplied in a Request An issuer MUST NOT set the value from a request parameter, header, or claim that a client or agent supplies about its own task, except as verified evidence under Section 4.2. This document defines no request parameter for the claim. 4.5. Task Age An issuer MUST set a maximum age for tasks whose value is "human", and SHOULD set one for other tasks. Once that time has passed since the task was created, the issuer MUST NOT treat any request as a continuation of the task. This document does not set the maximum age. For a "human" task it needs to be short enough that the person who took part can still be assumed to be following the work. A client that needs "human" after that time has to send the person back to the issuer. 5. Continuation and New Tasks Cadena Expires 5 June 2027 [Page 9] Internet-Draft task_basis Claim December 2026 5.1. Test for Continuation An issuer MUST NOT treat a token request as a continuation unless all of the following are true: 1. The request presents a valid token of the task: a subject token in a token exchange request [RFC8693], or a refresh token. The issuer issued that token itself, or accepts it under Section 5.6. 2. The issuer can identify the task from that token, through its "txn" claim or, for a refresh token, through the binding in Section 5.3. 3. The task has not passed its maximum age (Section 4.5). 4. The authority requested is within the task authority. 5. The issuer completes no human interaction for this request, the requester is not a scheduler, and the request carries no evidence that a preconfigured trigger fired. A request that does not meet the test creates a new task. An issuer that cannot tell whether a request meets the test MUST treat it as creating a new task. An issuer MAY treat any request as creating a new task. 5.2. Effect of a Continuation For a continuation, the issuer MUST issue the token with a task identifier of the existing task (Section 3.3) and MUST copy the task's "task_basis" value unchanged. If the token presented in a continuation does not contain the claim, the issuer MUST omit the claim. It has no evidence about how the existing task was created. Adding an actor does not change the value. A token for a task that a person took part in creating keeps "human" when an agent, and then a second agent, acts on the person's behalf within the same task. The nested "act" claim records those actors. 5.3. Refresh Tokens An issuer that issues a refresh token for a task MUST bind the refresh token, and any refresh token that replaces it, to the task. Cadena Expires 5 June 2027 [Page 10] Internet-Draft task_basis Claim December 2026 When the refresh token is used and the request meets the test in Section 5.1, the access token issued is a continuation: it carries the same task identifier and the same value. When the request does not meet the test, for example because the task has passed its maximum age, the request creates a new task. Use of a refresh token is not a human interaction (Section 4.2), so the new task's value is "schedule" if the conditions for it are met and "agent" otherwise. From then on the refresh token is bound to the new task. This is how work that runs later, under a permission a person gave earlier, comes to carry a value other than "human". The "auth_time", "acr", and "amr" claims behave differently: their values stay fixed across all tokens that derive from one authorization response (Section 2.2.1 of [RFC9068]). "task_basis" follows the task, not the grant. 5.4. New Task from Inside a Task If a request creates a new task, the issuer determines the value under Section 4 for the new task. The value in the token that was presented is not evidence for the new task. A new task that software creates while it works on an existing task is the common case. Unless the conditions for "human" or "schedule" are met for the new request, the value is "agent", whatever the value in the presented token was. If the issuer completes a human interaction as part of a token exchange request, that request creates a new task and its value is "human". 5.5. No Change Toward "human" Taken together, the rules above mean that a token issued through token exchange or refresh contains "human" only when: * the request is a continuation of a task whose value is "human"; or * the issuer completed a human interaction as part of the request itself. An issuer MUST NOT issue "human" through token exchange or refresh in any other case. Cadena Expires 5 June 2027 [Page 11] Internet-Draft task_basis Claim December 2026 5.6. Tokens from Another Issuer An issuer that receives a subject token signed by a different issuer MUST NOT treat the request as a continuation, and MUST NOT copy the value, unless its policy trusts that issuer to assert this claim. When it does treat the request as a continuation, it copies the value. For the task identifier it either copies the other issuer's "txn" value, if that cannot collide with identifiers it assigns itself, or assigns its own and records which task of the other issuer it stands for. If it does not trust that issuer for this claim, it has two choices. It can omit the claim. Or it can treat the request as creating a new task of its own and determine the value under Section 4; without a human interaction of its own, that value cannot be "human". It MUST NOT assert a value that describes the other issuer's task. 5.7. Tokens Derived by a Holder Some token formats let a holder derive a narrower token without contacting an issuer [I-D.niyikiza-oauth-attenuating-agent-tokens]. A holder is not an issuer under this document and cannot create a task. When such a format is used, a verifier MUST take the value and the task identifier only from a token that an issuer signed. It MUST ignore values that appear only in a token signed by a holder, and MUST reject a chain in which a holder-signed token carries a value or a task identifier different from the issuer-signed one. This has a cost. Work that software starts by deriving a token offline is not recorded as a new task, so a "human" value can reach work that no person took part in creating. Section 9.7 discusses this. 5.8. Transaction Tokens When the claim is used in a Transaction Token [I-D.ietf-oauth-transaction-tokens], the Transaction Token Service is the issuer and the transaction is the task. A Transaction Token already carries "txn". When the service issues a replacement Transaction Token it keeps the "txn" value, as that specification requires, and copies the "task_basis" value unchanged. That specification also cautions that replacing a Transaction Token weakens its purpose; this document adds no reason to replace one. Cadena Expires 5 June 2027 [Page 12] Internet-Draft task_basis Claim December 2026 When the request to the service presents an access token that carries the claim, the service applies Section 5.6. If it trusts the token's issuer for this claim, it copies the value into the Transaction Token, under the transaction's own "txn" value. 6. Resource Server Processing A resource server MUST take the value only from a token that it has validated and whose issuer it trusts, or from an introspection response for such a token (Section 7). It MUST NOT take the value from a request parameter, a header, or the request body. If the token contains "task_basis" but no "txn" claim, the resource server MUST treat "task_basis" as absent. If the claim is absent, the resource server MUST NOT treat the task as one a human took part in creating. A policy that requires "human" fails when the claim is absent. If the claim contains a value that the resource server does not recognize, the resource server MUST NOT treat it as "human" and MUST treat it no more favourably than "agent". 6.1. The Value Only Restricts The claim never adds to what a token allows. A resource server uses the value only to refuse, hold, or limit a request that the token's scope, audience, and other authorization claims would otherwise allow. A resource server MUST NOT allow, because of the value, a request that those claims do not allow. A resource server MAY ignore the claim. 6.2. Examples of Policy The following are examples of policy that the claim makes possible. They are not requirements. * Actions that cannot be undone are held for approval unless the value is "human". * Requests in tasks with the value "agent" are subject to lower limits. * Requests in tasks with the value "schedule" are accepted only in an expected time window. Cadena Expires 5 June 2027 [Page 13] Internet-Draft task_basis Claim December 2026 The value says nothing about when the task was created. A resource server that cares about freshness combines the value with "iat", "exp", and, where present, "auth_time". 7. Token Introspection An authorization server MAY include a "task_basis" member in a token introspection response [RFC7662]. Its meaning and values are the same as for the claim. An authorization server that includes it MUST also include a "txn" member that carries the task identifier. The authorization server MUST NOT include "task_basis" for a token that was issued without a determined value. For an access token that is not a JWT, the introspection response is the only carrier of the value. The rules in Section 6 apply to the members of the response as they apply to claims. 8. Audit Records The value is useful only if it is also recorded. A record that reports how a task was created under this document MUST use a member named "task_basis" whose value is a value registered for this claim, and MUST carry the task identifier in the same record. An issuer SHOULD record the value it determined, or the fact that it determined none, in its record of every decision on a request that creates or continues a task. This includes requests it denied and requests it held for approval, not only requests for which it issued a token. A record that carries the value only for issued tokens cannot answer how a denied or held request came to exist. A resource server SHOULD record the value and the task identifier from the token with its record of each access decision. Record formats are otherwise out of scope. An architecture for auditing agent interactions is described in [I-D.kuehlewind-audit-architecture]. 9. Security Considerations Cadena Expires 5 June 2027 [Page 14] Internet-Draft task_basis Claim December 2026 9.1. The Issuer Asserts the Value The security of this claim rests on one rule: the issuer asserts the value from what it observed, and no client or agent reports it about itself (Section 4.4). Software that could set its own value would set "human". A deployment in which the value originates from the requester's own statement provides no assurance and is not conformant. 9.2. What "human" Is Worth "human" shows that a person authenticated or approved at the issuer when the task was created (Section 3.2). It is no stronger than that interaction. Software that wants the value "human" can ask the issuer to obtain a person's approval when the task is created. That is the intended path, and it is only as good as the approval. A person who approves requests without reading them gives "human" to whatever was requested. Issuers that show the person what the task is, and resource servers that do not read "human" as informed intent, limit the damage. An issuer cannot always tell a person from software that drives the person's browser or device. If such software can complete the interaction, it obtains "human" with no person involved. [I-D.aravind-oauth-operator-of-record] discusses the same problem for credential presentations. The value is only as strong as the issuer's check that a person was present. 9.3. Wrong Values A wrong "human" is the harmful error, because it lowers scrutiny. The rules are written so that doubt resolves away from "human": there is no default (Section 4.3), an absent or unknown value is never read as "human" (Section 6), a response produced without prompting is not a human interaction (Section 4.2), and neither token exchange nor refresh can produce "human" from another value (Section 5.5). 9.4. Continuation Errors A party might try to keep a "human" value for new work by presenting a token of a "human" task. The test in Section 5.1 limits this: the request has to stay within the task authority and within the task's maximum age. The remaining risk is an issuer whose record of the task authority is broader than what the person understood. Cadena Expires 5 June 2027 [Page 15] Internet-Draft task_basis Claim December 2026 Whether two requests belong to one task is the issuer's decision, and two issuers can decide differently. The task identifier makes the decision visible: tokens that share a "txn" value were treated as one task, and an auditor can check that against what the tokens were used for. 9.5. Refresh Tokens and Task Age Within a task's maximum age, an issuer cannot tell a refresh that a person's active session causes from a refresh that unattended software causes with the same refresh token. Both are continuations and both keep "human". The maximum age bounds this window (Section 4.5). A deployment that sets a long maximum age gives up much of what the claim offers. 9.6. Trigger Evidence "schedule" depends on the issuer's designation of schedulers and on evidence that a trigger fired. If a scheduler is compromised, or if its assertions can be replayed, an attacker can obtain "schedule" for work that no trigger started. Issuers need to authenticate schedulers, limit the lifetime of their assertions, and bind each assertion to one request. An issuer that designates general-purpose clients as schedulers makes "schedule" meaningless. Because "schedule" is never treated as "human", the effect of an error is bounded by the policy applied to scheduled work. 9.7. Offline Derivation Where holders derive tokens without contacting the issuer (Section 5.7), no new task is ever recorded. A "human" value then covers every token derived from the original, including tokens for work that software started on its own. A resource server that relies on "human" needs to decide whether to accept the value from a derived chain at all. 9.8. Omission A party cannot gain by causing the claim, or the task identifier, to be left out, because absence is never read as "human". A resource server that treats absence as acceptable for sensitive actions loses this protection. Cadena Expires 5 June 2027 [Page 16] Internet-Draft task_basis Claim December 2026 9.9. Using the Value in Decisions [I-D.aravind-oauth-operator-of-record] takes the position that a marker of this kind is to be ignored when a decision point allows or denies a request. This document takes a narrower position: the value can be used, but only to restrict (Section 6.1). A forged or mistaken value therefore cannot obtain access that the token does not already allow. What a mistaken "human" can do is remove a restriction that policy would otherwise have added. That is the residual risk, and it is the reason for the evidence rules in Section 4.2. 9.10. What the Claim Does Not Do The claim does not prove that a person asked for, understood, or intended each action in a task. It does not bind the token to a sender. It does not limit what the token allows. It does not replace the "act" claim, and an "act" claim does not replace it: the presence of an actor shows that software is acting, not how the task was created. 10. Privacy Considerations The value "human" reveals that a person interacted with the issuer when the task was created. Combined with "iat" and a subject identifier, a series of tokens can show when a person was active. The values "schedule" and "agent" reveal that work is automated, which a resource server could use to treat automated clients differently. Issuers SHOULD include the claim only in tokens for audiences that use it. Audit records that contain the value are subject to the same care as other records of user activity. The task identifier lets recipients that share data link the tokens of one task. Inside one deployment that is the purpose. Where tokens for one task go to audiences in different organizations, an issuer MAY use a different "txn" value for each audience, provided it can map each value to the task when it applies Section 5.1. The claim carries no identifier of a person and adds no information about who the person is. 11. IANA Considerations 11.1. JSON Web Token Claims Registration IANA is requested to register the following claim in the "JSON Web Token Claims" registry [IANA.jwt] established by [RFC7519]. Cadena Expires 5 June 2027 [Page 17] Internet-Draft task_basis Claim December 2026 Claim Name: task_basis Claim Description: The basis on which the issuer created the task for which the token was issued Change Controller: IETF Specification Document(s): Section 3 of this document 11.2. OAuth Token Introspection Response Registration IANA is requested to register the following members in the "OAuth Token Introspection Response" registry established by [RFC7662]. Name: task_basis Description: The basis on which the issuer created the task for which the token was issued Change Controller: IETF Specification Document(s): Section 7 of this document Name: txn Description: Transaction identifier, with the meaning of the "txn" claim of RFC 8417; used by this document as the task identifier Change Controller: IETF Specification Document(s): Section 7 of this document 11.3. Task Basis Values Registry IANA is requested to create a registry named "Task Basis Values" in the "JSON Web Token (JWT)" registry group. The registry holds the values of the "task_basis" claim. The registration policy is Specification Required [RFC8126]. A registration contains: Value: The string value. Values are lower case. Description: What the issuer observed when the task was created. Change Controller: The party responsible for the registration. Specification Document(s): The document that defines the value and Cadena Expires 5 June 2027 [Page 18] Internet-Draft task_basis Claim December 2026 the evidence an issuer needs before it asserts the value. The designated experts are asked to check that a new value describes something an issuer can observe, that it is distinct from the registered values, and that its specification states the evidence required. A new value is not to be treated as "human" by a resource server that does not know it (Section 6). The initial contents are: Value: human Description: The issuer completed a human interaction as part of the request that created the task Change Controller: IETF Specification Document(s): Section 3.1 of this document Value: schedule Description: A preconfigured trigger, verified by the issuer, created the task Change Controller: IETF Specification Document(s): Section 3.1 of this document Value: agent Description: The requester created the task itself, with no human interaction and no verified trigger Change Controller: IETF Specification Document(s): Section 3.1 of this document 12. References 12.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . Cadena Expires 5 June 2027 [Page 19] Internet-Draft task_basis Claim December 2026 [RFC6749] Hardt, D., Ed., "The OAuth 2.0 Authorization Framework", RFC 6749, DOI 10.17487/RFC6749, October 2012, . [RFC7519] Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, May 2015, . [RFC7662] Richer, J., Ed., "OAuth 2.0 Token Introspection", RFC 7662, DOI 10.17487/RFC7662, October 2015, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8417] Hunt, P., Ed., Jones, M., Denniss, W., and M. Ansari, "Security Event Token (SET)", RFC 8417, DOI 10.17487/RFC8417, July 2018, . [RFC8693] Jones, M., Nadalin, A., Campbell, B., Ed., Bradley, J., and C. Mortimore, "OAuth 2.0 Token Exchange", RFC 8693, DOI 10.17487/RFC8693, January 2020, . [RFC9068] Bertocci, V., "JSON Web Token (JWT) Profile for OAuth 2.0 Access Tokens", RFC 9068, DOI 10.17487/RFC9068, October 2021, . 12.2. Informative References [AP2] "Agent Payments Protocol (AP2) Specification, Version 0.2", 2026, . [CADENA2026] Cadena, J., "Runtime Authorization for AI Agents: A Task- Scoped Credential-Brokering Architecture for Humans, Machines, and Agents", DOI 10.5281/zenodo.21585832, 29 July 2026, . [CI-TOKENS-A] GitHub, "OpenID Connect reference (workflow identity tokens)", 2026, . Cadena Expires 5 June 2027 [Page 20] Internet-Draft task_basis Claim December 2026 [CI-TOKENS-B] GitLab, "OpenID Connect (OIDC) Authentication Using ID Tokens", 2026, . [CIBA] OpenID Foundation, "OpenID Connect Client-Initiated Backchannel Authentication Flow - Core 1.0", September 2021, . [I-D.aap-oauth-profile] cruz, A., "Agent Authorization Profile (AAP) for OAuth 2.0", Work in Progress, Internet-Draft, draft-aap-oauth- profile-01, 7 February 2026, . [I-D.araut-oauth-transaction-tokens-for-agents] Raut, A., "Transaction Tokens For Agents", Work in Progress, Internet-Draft, draft-araut-oauth-transaction- tokens-for-agents-03, 31 October 2026, . [I-D.aravind-oauth-operator-of-record] Aravind, A. A., "Operator-of-Record: an Origination Marker for Agent-Operated Presentations and Decisions", Work in Progress, Internet-Draft, draft-aravind-oauth-operator-of- record-00, 19 July 2026, . [I-D.chen-oauth-agent-authz-use-cases] Chen, M., Chen, J., Yao, J., Jiang, Y., Liu, P. C., and X. Liu, "Agent Authorization use cases and gap analysis", Work in Progress, Internet-Draft, draft-chen-oauth-agent- authz-use-cases-05, 26 October 2026, . [I-D.chen-oauth-agent-intent-token] Chen, M., Su, L., Liu, P. C., and B. Morrison, "The Intent Token - A Credential for Delegated User Intent", Work in Progress, Internet-Draft, draft-chen-oauth-agent-intent- token-03, 30 November 2026, . Cadena Expires 5 June 2027 [Page 21] Internet-Draft task_basis Claim December 2026 [I-D.craig-oauth-rar-payment-mandates] Craig, R., "Rich Authorization Requests Profile for Agent Payment Mandates, Approval Reasons and Receipts", Work in Progress, Internet-Draft, draft-craig-oauth-rar-payment- mandates-00, 17 November 2026, . [I-D.ietf-oauth-transaction-tokens] Tulshibagwale, A., Fletcher, G., and P. Kasselman, "Transaction Tokens", Work in Progress, Internet-Draft, draft-ietf-oauth-transaction-tokens-11, 30 July 2026, . [I-D.ietf-wimse-aims] Kasselman, P., Lombardo, J., Rosomakho, Y., Campbell, B., Steele, N., and A. Parecki, "AI Identity Management System", Work in Progress, Internet-Draft, draft-ietf- wimse-aims-01, 2 November 2026, . [I-D.jiang-oauth-intent-admission] Jiang, Y., Lun, L., Song, Y., and F. Liu, "Intent Admission Assertions for Agentic Systems", Work in Progress, Internet-Draft, draft-jiang-oauth-intent- admission-00, 23 June 2026, . [I-D.kuehlewind-audit-architecture] Kühlewind, M. and H. Birkholz, "An Architecture for Auditing Agent Delegation and Interactions", Work in Progress, Internet-Draft, draft-kuehlewind-audit- architecture-01, 7 September 2026, . [I-D.liu-oauth-rego-policy] Liu, D., Zhu, J., Krishnan, S., Parecki, A., and H. Xue, "Rego Policy Language for OAuth 2.0 Authorization", Work in Progress, Internet-Draft, draft-liu-oauth-rego-policy- 00, 12 June 2026, . Cadena Expires 5 June 2027 [Page 22] Internet-Draft task_basis Claim December 2026 [I-D.mcguinness-oauth-actor-profile] McGuinness, K., "OAuth Actor Profile for Delegation", Work in Progress, Internet-Draft, draft-mcguinness-oauth-actor- profile-02, 26 November 2026, . [I-D.mcguinness-oauth-mission] McGuinness, K., "Mission-Bound Authorization for OAuth 2.0", Work in Progress, Internet-Draft, draft-mcguinness- oauth-mission-02, 2 November 2026, . [I-D.mora-oauth-entity-profiles] Mora, S. C., Dingle, P., and K. McGuinness, "OAuth 2.0 Entity Profiles", Work in Progress, Internet-Draft, draft- mora-oauth-entity-profiles-02, 16 October 2026, . [I-D.mw-oauth-actor-chain] Prasad, A., Krishnan, R., Lopez, D., Addepalli, S., and S. Krishnan, "OAuth Actor Chain: Protocol and Interoperability", Work in Progress, Internet-Draft, draft-mw-oauth-actor-chain-03, 1 November 2026, . [I-D.niyikiza-oauth-attenuating-agent-tokens] Aimable, N., "Attenuating Authorization Tokens for Agentic Delegation Chains", Work in Progress, Internet-Draft, draft-niyikiza-oauth-attenuating-agent-tokens-02, 26 October 2026, . [IANA.jwt] IANA, "JSON Web Token (JWT)", . [RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10.17487/RFC8126, June 2017, . [RFC8628] Denniss, W., Bradley, J., Jones, M., and H. Tschofenig, "OAuth 2.0 Device Authorization Grant", RFC 8628, DOI 10.17487/RFC8628, August 2019, . Cadena Expires 5 June 2027 [Page 23] Internet-Draft task_basis Claim December 2026 Appendix A. Examples The examples show decoded JWT claim sets. Line breaks are for display. A.1. A Task That a Person Took Part in Creating A person asks an agent to analyze invoices. The agent, an OAuth client, sends the person to the authorization server. The server authenticates the person and obtains approval for reading invoices and for looking up exchange rates. That approval is the task authority. { "iss": "https://as.example.com", "sub": "user-4821", "aud": "https://erp.example.com", "client_id": "invoice-agent", "scope": "invoices.read", "iat": 1794600000, "exp": 1794600300, "jti": "5f1c", "auth_time": 1794599990, "txn": "t-7c41", "task_basis": "human" } A.2. The Same Work Started by a Timer A scheduling service runs the same analysis every night under a permission the person gave it earlier. The authorization server has designated that service as a scheduler. At night the service requests a token and nobody is prompted. Subject, audience, and scope are the same as above. { "iss": "https://as.example.com", "sub": "user-4821", "aud": "https://erp.example.com", "client_id": "billing-scheduler", "scope": "invoices.read", "iat": 1794621600, "exp": 1794621900, "jti": "a23e", "txn": "t-9b02", "task_basis": "schedule" } Cadena Expires 5 June 2027 [Page 24] Internet-Draft task_basis Claim December 2026 A.3. Continuation Through Token Exchange Within the first task, the invoice agent asks a second agent to convert currencies. The second agent exchanges the token it was given for one it can present to the rates service. Looking up rates is within the task authority and the task is within its maximum age, so the exchange is a continuation. The task identifier and the value are copied, and the token names the second agent as the actor. { "iss": "https://as.example.com", "sub": "user-4821", "aud": "https://rates.example.com", "client_id": "fx-agent", "scope": "rates.read", "iat": 1794600060, "exp": 1794600240, "jti": "77b0", "auth_time": 1794599990, "txn": "t-7c41", "task_basis": "human", "act": { "sub": "fx-agent" } } A.4. A New Task That Software Started While analyzing invoices, the agent decides to open a dispute for one of them. Nobody asked for this, and the person's approval did not cover it. The deployment separately allows this agent to open disputes for the users it serves. The agent presents the first token and asks for the dispute scope. The request is outside the task authority, so the authorization server creates a new task under the agent's own permission. No human interaction takes place and no trigger is verified. { "iss": "https://as.example.com", "sub": "user-4821", "aud": "https://erp.example.com", "client_id": "invoice-agent", "scope": "disputes.create", "iat": 1794600120, "exp": 1794600300, "jti": "c9d4", "txn": "t-7c9e", "task_basis": "agent" } Cadena Expires 5 June 2027 [Page 25] Internet-Draft task_basis Claim December 2026 A resource server whose policy holds dispute creation for approval unless the value is "human" would hold this request. Appendix B. Relationship to Related Work This document adds one claim. It depends on the work below and is meant to be used with it. Token Exchange [RFC8693] defines the "act" claim, which identifies the acting party and prior actors. "act" answers who is acting. "task_basis" answers how the task was created. Neither can be derived from the other: a token with no actor may belong to a scheduled task, and a token with two nested actors may belong to a task a person approved a moment ago. The JWT access token profile [RFC9068] carries "auth_time", "acr", and "amr", which describe the person's authentication for the grant and stay fixed across the tokens that derive from it. They do not show that later work under the same grant was started by something else, and they cannot tell a timer from the requesting software. "task_basis" describes the task and changes when new work starts under the same grant (Section 5.3). Security Event Tokens [RFC8417] define "txn". This document uses it as the task identifier. Transaction Tokens [I-D.ietf-oauth-transaction-tokens] carry identity and context through a call chain and already describe transactions that start from a timer or other trigger inside a trust domain, but the token consumer has to infer which case applies. This document gives that case, and the externally requested case, a value a consumer can read (Section 5.8). Transaction Tokens for Agents [I-D.araut-oauth-transaction-tokens-for-agents] adds agent context and describes subject-initiated and autonomous flows. The claim defined here can mark those flows explicitly, and separates work a schedule started from work the software started. Cadena Expires 5 June 2027 [Page 26] Internet-Draft task_basis Claim December 2026 The operator-of-record claim [I-D.aravind-oauth-operator-of-record] records whether a human or an agent operated one action, in the signed record of that action. It has two values, is not carried in access tokens, and is to be ignored in allow-or-deny decisions. "task_basis" describes how the task was created, has a value for scheduled work, travels in the tokens a resource server validates, and can be used to restrict. A task that a person approved and an agent carries out is "human" here and "agent" there. The two can appear together. Both treat absence the same way: it is never evidence of a human. Intent admission assertions [I-D.jiang-oauth-intent-admission] record the class and the execution context of an authenticated originator, inside an authorization details object that an admission point issues. The execution context values include "scheduled" and "unattended". That field describes the originator when one intent was admitted. This claim describes the task, is not tied to one authorization details type, and has rules for refresh and token exchange. Mission-Bound Authorization [I-D.mcguinness-oauth-mission] keeps a record at the authorization server of the basis for an approval, including whether it was direct or made under a standing consent, who or what triggered it, and whether a human or a policy decided it. That record is richer than this claim and is not carried in the token. An authorization server that implements both could use that record as its evidence for the "task_basis" value. Cadena Expires 5 June 2027 [Page 27] Internet-Draft task_basis Claim December 2026 The Intent Token [I-D.chen-oauth-agent-intent-token] is a signed record of a user's intent that is used at the authorization server or a policy decision point and is not presented to resource servers. It has a required "approval_context" member, which says whether the user approved through the issuer's own consent interface or a trusted host attests that the user submitted the instruction. It has an optional "interaction_mode" member, which says whether the user is expected to be present while the task runs, and an "intent_id" that stays the same when the token is issued again within one task. Of the documents discussed here it is the closest in design: a task-level record of how a user's agreement was obtained. Both values of "approval_context" describe work that begins with a user's instruction. The access tokens derived from an Intent Token are advised to carry provenance claims such as the "intent_id"; that draft does not put the approval context in them. This claim carries the fact to the resource server, has values for work that no user started, and has rules for refresh and token exchange. An authorization server that issues an Intent Token after its own consent step could use that step as its evidence for "human". A task that rests on an attested instruction is "agent" under Section 4.2. Appendix C asks whether it needs a value of its own. A Rich Authorization Requests profile for agent payment mandates [I-D.craig-oauth-rar-payment-mandates] defines a signed receipt for every payment decision. A required "basis" member of the receipt says whether a standing mandate covered the payment, the customer approved it, or it was refused. That is close to the distinction this claim draws between a fresh human interaction and standing authority. The receipt records it for each decision. This claim records it for the task, in the token, with a value for scheduled work and with rules for refresh and token exchange. A behavioral policy proposal [I-D.liu-oauth-rego-policy] shows, in an example, a deployment-defined constraint that separates user- initiated from scheduled operations. The Agent Authorization Profile [I-D.aap-oauth-profile], an expired individual draft, defines a task claim that includes the identifier of the user who created the task. That is an identity. This document records a basis and carries no identity. OAuth Entity Profiles [I-D.mora-oauth-entity-profiles] classify the kind of entity that a client, subject, or actor is, including an AI agent. The kind of entity and how a task was created are separate facts. Cadena Expires 5 June 2027 [Page 28] Internet-Draft task_basis Claim December 2026 The OAuth Actor Profile [I-D.mcguinness-oauth-actor-profile] and OAuth Actor Chain [I-D.mw-oauth-actor-chain] specify how delegated actors are represented and verified across hops. The continuation rule in Section 5.2 is written so that the value passes through such chains unchanged. Attenuating Authorization Tokens [I-D.niyikiza-oauth-attenuating-agent-tokens] let a holder derive narrower tokens offline. Section 5.7 states how the value is treated there and what is lost. The agent authorization use cases document [I-D.chen-oauth-agent-authz-use-cases] identifies caller-class differentiation as a gap and requires that a caller not choose its own class. The AI Identity Management System document [I-D.ietf-wimse-aims] notes that an agent's mission can come from a user, a system, or another agent. This claim is one way to carry a related fact to the resource server. Outside OAuth, identity tokens issued to continuous integration jobs carry an issuer-asserted claim that names what triggered the job, with a scheduled run among the values [CI-TOKENS-A] [CI-TOKENS-B], and relying parties can write trust policy against it. That is deployed precedent for an issuer stating what triggered a workload. Agent payment protocols distinguish transactions where a person is present from those where none is [AP2]. Appendix C. Open Issues This section is to be removed before publishing as an RFC. * Name. The claim was called "initiated_by" in [CADENA2026]. It was renamed because that name suggests who started the work, which an issuer cannot observe (Section 3.2). The value "human" has a smaller form of the same problem. "interactive" would describe what the issuer observes more exactly. * Name of the third value. "agent" applies to any requester that creates a task itself (Section 4.2). A neutral name would avoid implying that the issuer classifies software. * Alignment of values. Other drafts use "scheduled" and "user_initiated" for similar facts, and "mandate" and "approval" for the basis of a decision. One vocabulary would be better than several. Cadena Expires 5 June 2027 [Page 29] Internet-Draft task_basis Claim December 2026 * Task authority. The test in Section 5.1 compares the authority requested with the task authority. This document does not say how an issuer represents or compares authority across audiences. * Task creation time. A resource server cannot see when a task was created unless "auth_time" is present. A claim for the creation time may be needed. * Trigger evidence. Section 4.2 leaves the format of scheduler evidence, and how a scheduler is designated, out of scope. A common form may be needed for interoperability. * Attested instructions. In [I-D.chen-oauth-agent-intent-token] a trusted host can attest that a user submitted an instruction, without the authorization server interacting with the user. Under Section 4.2 such a task is "agent". The same is true of any task that an assistant creates after a person types a request to it, if the issuer does not interact with the person. "agent" therefore covers both work that a person just asked for and work that software started unasked. A fourth value for attested instructions may be needed. * Placement. Some reviewers of related work prefer per-action records to access tokens for markers of this kind. This document binds the value to a task identifier and carries both in the token. Acknowledgments Gabriela Bantau raised initiation as an axis separate from the delegation chain in public discussion of [CADENA2026]. The claim defined here follows from that observation. The documents discussed in Appendix B shaped this one. Their authors are not responsible for any errors here. Author's Address Jairo Cadena Cadena Core Group Email: jairo@cadenacoregroup.com Cadena Expires 5 June 2027 [Page 30]