Skip to content

Polling error revoked omits the presented token, the sub-agent token and the agent-person binding #274

Open

Description

@joshuagay

draft-hardt-oauth-aauth-protocol.md at 70d6737:

  • L2624 (Polling Error Codes): "revoked | 403 | A token the pending request depends on was revoked (#token-revocation): the resource token it was started for, the upstream token of a chained request (#call-chaining), or the agent token of the agent that started it. detail SHOULD say which"
  • L2765 (Presenting a Revoked Token): "A pending request already started against a withdrawn resource token, or whose upstream token or agent's agent token is revoked while it waits, terminates with revoked"
  • L2590 (Token Endpoint Error Codes): "revoked_presented_token | 400 | The presented token has been revoked by the server that issued it"
  • L2596 (Token Endpoint Error Codes): "revoked_subagent_token | 400 | The sub-agent token has been revoked by its agent provider"
  • L2925 (Agent-Person Binding): "Revoking an agent's association with its person immediately prevents the agent from obtaining new auth tokens."

A pending token request also depends on the token it carried as presented_token, on a subagent_token, and on the agent-person binding. The synchronous path has a code for the first two (L2590, L2596), and L2925 says revoking the binding stops issuance at once, but the waiting path names none of the three. A PS whose presented person token is revoked while the person is deciding may answer the poll revoked, answer revoked_presented_token, or issue. The agent cannot tell which to expect. #180 widened this row to its current three tokens.

Ask: Extend the row and L2765: "A token the pending request depends on was revoked: the resource token it was started for, the token it carried as presented_token or subagent_token, the upstream token of a chained request, or the agent token of the agent that started it; or the agent's binding to the person was revoked. detail SHOULD say which."

Activity

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