Skip to content

Supervision: a narrowed allow has no fallback when the AS cannot take the narrowing #284

Open

Description

@joshuagay

draft-hardt-aauth-supervision.md at 70d6737:

  • L508 (Auth Token): "An allow MAY carry scope, a scope narrower than the resource token requested, and exp. The PS applies them to the auth token it issues, or passes them to the AS it federates with where the AS accepts them; how a PS narrows a federated request is the AS's business and is not treated here."
  • L79 (Introduction): "A PS that has an SS configured for an agent makes no supervision decision of its own for that agent."

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

  • L1583-L1587 (PS-to-AS Token Request): the request carries resource_token, agent_token, presented_token, subagent_token and upstream_token

The PS-to-AS token request has no member for a narrower scope or an earlier exp, and no AS metadata says whether an AS accepts one. L508 leaves the mechanism to the AS, but not the case where the AS does not accept the narrowing. Federating unchanged gets a token broader than the SS allowed. Refusing is a decision L79 says the PS does not make.

Ask: Say what the PS does when it cannot convey the narrowing, for example: "A PS that cannot convey a narrowed scope or exp to the AS treats the allow as an ask and puts the act to the person."

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