The Grant Negotiation and Authorization Protocol
draft-hardt-xauth-protocol-12

Document Type Active Internet-Draft (individual)
Last updated 2020-07-08
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                      D. Hardt, Ed.
Internet-Draft                                                SignIn.Org
Intended status: Standards Track                             8 July 2020
Expires: 9 January 2021

            The Grant Negotiation and Authorization Protocol
                     draft-hardt-xauth-protocol-12

Abstract

   Client software often desires resources or identity claims that are
   independent of the client.  This protocol allows a user and/or
   resource owner to delegate resource authorization and/or release of
   identity claims to a server.  Client software can then request access
   to resources and/or identity claims by calling the server.  The
   server acquires consent and authorization from the user and/or
   resource owner if required, and then returns to the client software
   the authorization and identity claims that were approved.  This
   protocol may be extended to support alternative authorizations,
   claims, interactions, and client authentication mechanisms.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 9 January 2021.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights

Hardt                    Expires 9 January 2021                 [Page 1]
Internet-DraThe Grant Negotiation and Authorization Protocol   July 2020

   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Parties . . . . . . . . . . . . . . . . . . . . . . . . .   4
     1.2.  Reused Terms  . . . . . . . . . . . . . . . . . . . . . .   6
     1.3.  New Terms . . . . . . . . . . . . . . . . . . . . . . . .   6
     1.4.  Notational Conventions  . . . . . . . . . . . . . . . . .   7
   2.  Sequences . . . . . . . . . . . . . . . . . . . . . . . . . .   8
     2.1.  "redirect" Interaction  . . . . . . . . . . . . . . . . .   8
     2.2.  "user_code" Interaction . . . . . . . . . . . . . . . . .   9
     2.3.  Independent RO Authorization  . . . . . . . . . . . . . .  10
     2.4.  Resource Server Access  . . . . . . . . . . . . . . . . .  11
   3.  GS APIs . . . . . . . . . . . . . . . . . . . . . . . . . . .  11
     3.1.  GS API Table  . . . . . . . . . . . . . . . . . . . . . .  12
     3.2.  Create Grant  . . . . . . . . . . . . . . . . . . . . . .  12
     3.3.  Verify Grant  . . . . . . . . . . . . . . . . . . . . . .  15
     3.4.  Read Grant  . . . . . . . . . . . . . . . . . . . . . . .  16
     3.5.  Request JSON  . . . . . . . . . . . . . . . . . . . . . .  16
       3.5.1.  "client" Object . . . . . . . . . . . . . . . . . . .  17
       3.5.2.  "interaction" Object  . . . . . . . . . . . . . . . .  17
       3.5.3.  "user" Object . . . . . . . . . . . . . . . . . . . .  18
       3.5.4.  "authorizations" Object . . . . . . . . . . . . . . .  18
       3.5.5.  Authorization Request Object  . . . . . . . . . . . .  18
       3.5.6.  "claims" Object . . . . . . . . . . . . . . . . . . .  19
     3.6.  Read Authorization  . . . . . . . . . . . . . . . . . . .  19
     3.7.  GS Options  . . . . . . . . . . . . . . . . . . . . . . .  19
   4.  GS Responses  . . . . . . . . . . . . . . . . . . . . . . . .  20
     4.1.  Grant Response  . . . . . . . . . . . . . . . . . . . . .  20
     4.2.  Interaction Response  . . . . . . . . . . . . . . . . . .  22
     4.3.  Wait Response . . . . . . . . . . . . . . . . . . . . . .  23
     4.4.  Response JSON . . . . . . . . . . . . . . . . . . . . . .  23
       4.4.1.  "client" Object . . . . . . . . . . . . . . . . . . .  23
       4.4.2.  "interaction" Object  . . . . . . . . . . . . . . . .  24
       4.4.3.  "user" Object . . . . . . . . . . . . . . . . . . . .  24
       4.4.4.  "authorizations" Object . . . . . . . . . . . . . . .  24
Show full document text