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

Document Type Active Internet-Draft (individual)
Author Dick Hardt 
Last updated 2020-08-15
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                          15 August 2020
Expires: 16 February 2021

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

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 on many dimensions.

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 16 February 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
   and restrictions with respect to this document.  Code Components

Hardt                   Expires 16 February 2021                [Page 1]
Internet-DrafThe Grant Negotiation and Authorization Protoco August 2020

   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.  The Grant . . . . . . . . . . . . . . . . . . . . . . . .   4
     1.2.  Protocol Roles  . . . . . . . . . . . . . . . . . . . . .   4
     1.3.  Human Interactions  . . . . . . . . . . . . . . . . . . .   5
     1.4.  Trust Model . . . . . . . . . . . . . . . . . . . . . . .   7
     1.5.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   8
     1.6.  Notational Conventions  . . . . . . . . . . . . . . . . .  10
   2.  Exemplar Sequences  . . . . . . . . . . . . . . . . . . . . .  11
     2.1.  "redirect" Interaction  . . . . . . . . . . . . . . . . .  11
     2.2.  "user_code" Interaction . . . . . . . . . . . . . . . . .  13
     2.3.  Independent RO Authorization  . . . . . . . . . . . . . .  14
     2.4.  Resource Server Access  . . . . . . . . . . . . . . . . .  15
   3.  GS APIs . . . . . . . . . . . . . . . . . . . . . . . . . . .  15
     3.1.  GS API Table  . . . . . . . . . . . . . . . . . . . . . .  16
     3.2.  Create Grant  . . . . . . . . . . . . . . . . . . . . . .  16
     3.3.  Verify Grant  . . . . . . . . . . . . . . . . . . . . . .  19
     3.4.  Read Grant  . . . . . . . . . . . . . . . . . . . . . . .  20
     3.5.  Request JSON  . . . . . . . . . . . . . . . . . . . . . .  20
       3.5.1.  "client" Object . . . . . . . . . . . . . . . . . . .  20
       3.5.2.  "interaction" Object  . . . . . . . . . . . . . . . .  21
       3.5.3.  "user" Object . . . . . . . . . . . . . . . . . . . .  21
       3.5.4.  "access" Object . . . . . . . . . . . . . . . . . . .  22
       3.5.5.  "claims" Object . . . . . . . . . . . . . . . . . . .  22
     3.6.  Read Access . . . . . . . . . . . . . . . . . . . . . . .  22
     3.7.  GS Options  . . . . . . . . . . . . . . . . . . . . . . .  23
   4.  GS Responses  . . . . . . . . . . . . . . . . . . . . . . . .  23
     4.1.  Grant Response  . . . . . . . . . . . . . . . . . . . . .  23
     4.2.  Interaction Response  . . . . . . . . . . . . . . . . . .  25
     4.3.  Wait Response . . . . . . . . . . . . . . . . . . . . . .  26
     4.4.  Response JSON . . . . . . . . . . . . . . . . . . . . . .  26
       4.4.1.  "client" Object . . . . . . . . . . . . . . . . . . .  27
       4.4.2.  "interaction" Object  . . . . . . . . . . . . . . . .  27
       4.4.3.  "access" Object . . . . . . . . . . . . . . . . . . .  27
       4.4.4.  Access Response Object  . . . . . . . . . . . . . . .  27
Show full document text