Skip to content

Interaction decision rule names the PS, not the interaction's host #227

Open

Description

@joshuagay

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

  • L575 (Resource-Managed Authorization): "A resource that runs its own consent, login, or existing OAuth flow answers with 202 Accepted and requirement=interaction:"
  • L1166 (Interaction Response): "The resource's pending URL is authoritative."
  • L1626 (AS Response): "The PS directs the user to the AS's interaction URL, or passes the interaction requirement back to the agent."
  • L2394 (Interaction Code Format): "The person's approve/deny decision MUST be recorded via an authenticated channel at the PS"

An interaction can be hosted by the PS, by a resource or by the AS (also L1691), and only the host of url can complete it out of band (L1011). In resource-managed authorization the agent directs the user to the resource itself (L591), and where a PS relays a resource's or an AS's interaction, the relaying PS is not necessarily where the decision is made. The L2394 rule cannot be met as written in those flows, and implementations will diverge on where the decision is recorded.

Ask: At L2394, say the decision is recorded via an authenticated channel at the server that hosts the interaction URL (the PS, the resource or the AS), not necessarily at a PS that relays it; the rule that the code alone MUST NOT authorize the decision can stay as written.

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