The OAuth 2.0 Authorization Framework: Claims
draft-spencer-oauth-claims-01

Document Type Active Internet-Draft (individual)
Last updated 2019-11-23
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf 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)
OAuth Working Group                                           T. Spencer
Internet-Draft                                                 Curity AB
Intended status: Standards Track                        23 November 2019
Expires: 26 May 2020

             The OAuth 2.0 Authorization Framework: Claims
                     draft-spencer-oauth-claims-01

Abstract

   This document extends the OAuth 2.0 framework to include a simple
   query language that can be used by clients to request certain claims
   from an authorization server.  This mechanism can be used during the
   authorization request and refresh request.  It also defines a
   response parameter of the token and introspection endpoints that
   indicates to the caller which claims were authorized by the resource
   owner.  Lastly, it stipulates how this request parameter can be used
   during token exchange, and how clients may request that certain
   claims be placed in an access token intended for a particular
   resource server.

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 26 May 2020.

Copyright Notice

   Copyright (c) 2019 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

Spencer                    Expires 26 May 2020                  [Page 1]
Internet-Draft                   Claims                    November 2019

   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.  Claims vis-a-vis Scope Tokens . . . . . . . . . . . . . .   4
     1.2.  Notational Conventions  . . . . . . . . . . . . . . . . .   5
     1.3.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   5
   2.  Protocol Flow . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.1.  Authorization Request . . . . . . . . . . . . . . . . . .   6
     2.2.  Refresh Request . . . . . . . . . . . . . . . . . . . . .   7
     2.3.  Token Introspection . . . . . . . . . . . . . . . . . . .   8
     2.4.  Token Exchange  . . . . . . . . . . . . . . . . . . . . .   8
   3.  Claims Request Object . . . . . . . . . . . . . . . . . . . .   8
     3.1.  Requesting Particular Claim Names and Claim Values  . . .   9
     3.2.  Critical Members of a Claims Request Object . . . . . . .  14
     3.3.  Special Claims Sinks  . . . . . . . . . . . . . . . . . .  17
   4.  Obtaining Authorization . . . . . . . . . . . . . . . . . . .  18
     4.1.  Authorization Code Grant  . . . . . . . . . . . . . . . .  18
       4.1.1.  Authorization Request . . . . . . . . . . . . . . . .  18
       4.1.2.  Error Response  . . . . . . . . . . . . . . . . . . .  19
       4.1.3.  Access Token Response . . . . . . . . . . . . . . . .  20
     4.2.  Implicit Flow . . . . . . . . . . . . . . . . . . . . . .  20
       4.2.1.  Authorization Request . . . . . . . . . . . . . . . .  20
       4.2.2.  Access Token Response . . . . . . . . . . . . . . . .  20
       4.2.3.  Error Response  . . . . . . . . . . . . . . . . . . .  21
     4.3.  Resource Owner Password Credentials Grant . . . . . . . .  21
       4.3.1.  Access Token Request  . . . . . . . . . . . . . . . .  21
       4.3.2.  Access Token Response . . . . . . . . . . . . . . . .  22
     4.4.  Client Credentials Grant  . . . . . . . . . . . . . . . .  22
       4.4.1.  Access Token Request  . . . . . . . . . . . . . . . .  23
       4.4.2.  Access Token Response . . . . . . . . . . . . . . . .  23
   5.  Token Refresh . . . . . . . . . . . . . . . . . . . . . . . .  24
     5.1.  Token Refresh Request . . . . . . . . . . . . . . . . . .  24
     5.2.  Access Refresh Response . . . . . . . . . . . . . . . . .  24
   6.  Token Exchange  . . . . . . . . . . . . . . . . . . . . . . .  25
   7.  Token Introspection . . . . . . . . . . . . . . . . . . . . .  25
Show full document text