Skip to content

Agent token revocation cascade: are parent-mediated sub-agent tokens included? #233

In review

Description

@joshuagay

draft-hardt-oauth-aauth-protocol.md at 28e8258:

  • L1936 (Parent-Mediated Authorization): "The sub-agent relationship is recorded by the PS, which issued both tokens and holds the parent_agent binding."
  • L1938 (Parent-Mediated Authorization): "revoking the parent's grant causes the next sub-agent authorization to fail, while existing auth tokens expire normally (≤1 hour)."
  • L2755 (Revocation Cascade): "The cascade is by agent identity: the PS revokes every person token and auth token it issued to that agent's sub, whichever agent token the agent presented when it asked."

The PS records the parent and sub-agent relationship, and L1938 settles revocation of the parent's grant: later sub-agent authorizations fail and existing auth tokens run to exp. It does not cover the agent provider revoking the parent's agent token. The L2755 cascade runs by the revoked agent's sub, but a parent-mediated token is requested by the parent (L1929) and bound to the sub-agent's key (L1934), so one reading revokes it with the parent's tokens and another leaves it to expire as in L1938.

Ask: Say whether the L2755 cascade for a revoked parent agent token covers person tokens and auth tokens issued in parent-mediated requests and bound to its sub-agents' keys.

Parent P obtains auth token A for sub-agent S (cnf = K_S) at time T.
T+1m  P's agent provider revokes P's agent token; the PS runs the L2755 cascade.
Reading 1: A was requested by P, so it counts as issued to P's sub and is revoked.
Reading 2: A is bound to S's key, so it runs to exp (up to one hour), as after a grant revocation (L1938).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions