Skip to content

Pending URLs: which credential signs a poll is not stated #273

Open

Description

@joshuagay

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

  • L2529 (Polling with GET): "After receiving a 202, the agent switches to GET for all subsequent requests to the Location URL and does not resend the original request body."
  • L2839 (Pending URL Security): "Servers MUST verify the agent's identity on every poll"
  • L667 (Authorization Endpoint): "The agent MUST present a person token (#person-tokens) via the Signature-Key header"
  • L1886 (Interaction Chaining): "The resource MUST provide its own Location URL for the original agent to poll."
  • L2730 (Revocation Response): "The poller is a server: it polls the pending URL with a signed GET, signing under the same identity that made the revocation"

Any endpoint may defer, and the requests that receive a 202 carry different credentials in Signature-Key: an agent token at the PS token endpoint, a person token at a resource's authorization endpoint, an auth token at a resource or at an intermediary. L2839 requires the server to verify "the agent's identity" on every poll without saying which credential conveys it. Only revocation polling (L2730) names it. An agent that polls a resource with its agent token, and a resource that expects the auth token the request was made with, do not interoperate. The discussion in #108 has a poll at the PS present the agent's current agent token. The text does not say so, and does not cover the other servers.

Ask: Say which credential a poll presents. One wording for Pending URL Security: "A poll is signed under the same agent identity, and presents the same type of credential, as the request that received the 202."

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