OAuth 2.0 Token Exchange
draft-ietf-oauth-token-exchange-07

Document Type Active Internet-Draft (oauth WG)
Last updated 2017-01-11
Replaces draft-jones-oauth-token-exchange, draft-campbell-oauth-sts
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf xml html bibtex
Stream WG state WG Document May 2017
Document shepherd Hannes Tschofenig
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to "Hannes Tschofenig" <Hannes.Tschofenig@gmx.net>
OAuth Working Group                                             M. Jones
Internet-Draft                                                A. Nadalin
Intended status: Standards Track                               Microsoft
Expires: July 15, 2017                                       B. Campbell
                                                              J. Bradley
                                                           Ping Identity
                                                            C. Mortimore
                                                              Salesforce
                                                        January 11, 2017

                        OAuth 2.0 Token Exchange
                   draft-ietf-oauth-token-exchange-07

Abstract

   This specification defines a protocol for an HTTP- and JSON- based
   Security Token Service (STS) by defining how to request and obtain
   security tokens from OAuth 2.0 authorization servers, including
   security tokens employing impersonation and delegation.

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 http://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 July 15, 2017.

Copyright Notice

   Copyright (c) 2017 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
   (http://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

Jones, et al.             Expires July 15, 2017                 [Page 1]
Internet-Draft          OAuth 2.0 Token Exchange            January 2017

   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.  Delegation vs. Impersonation Semantics  . . . . . . . . .   4
     1.2.  Requirements Notation and Conventions . . . . . . . . . .   5
     1.3.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   5
   2.  Token Exchange Request and Response . . . . . . . . . . . . .   6
     2.1.  Request . . . . . . . . . . . . . . . . . . . . . . . . .   6
       2.1.1.  Relationship Between Resource, Audience and Scope . .   8
     2.2.  Response  . . . . . . . . . . . . . . . . . . . . . . . .   8
       2.2.1.  Successful Response . . . . . . . . . . . . . . . . .   8
       2.2.2.  Error Response  . . . . . . . . . . . . . . . . . . .  10
     2.3.  Example Token Exchange  . . . . . . . . . . . . . . . . .  10
   3.  Token Type Identifiers  . . . . . . . . . . . . . . . . . . .  12
   4.  JSON Web Token Claims and Introspection Response Parameters .  13
     4.1.  "act" (Actor) Claim . . . . . . . . . . . . . . . . . . .  13
     4.2.  "scp" (Scopes) Claim  . . . . . . . . . . . . . . . . . .  15
     4.3.  "cid" (Client Identifier) Claim . . . . . . . . . . . . .  16
     4.4.  "may_act" (May Act For) Claim . . . . . . . . . . . . . .  16
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  17
     5.1.  OAuth URI Registration  . . . . . . . . . . . . . . . . .  17
       5.1.1.  Registry Contents . . . . . . . . . . . . . . . . . .  17
     5.2.  OAuth Parameters Registration . . . . . . . . . . . . . .  18
       5.2.1.  Registry Contents . . . . . . . . . . . . . . . . . .  18
     5.3.  OAuth Access Token Type Registration  . . . . . . . . . .  19
       5.3.1.  Registry Contents . . . . . . . . . . . . . . . . . .  19
     5.4.  JSON Web Token Claims Registration  . . . . . . . . . . .  19
       5.4.1.  Registry Contents . . . . . . . . . . . . . . . . . .  19
     5.5.  OAuth Token Introspection Response Registration . . . . .  20
       5.5.1.  Registry Contents . . . . . . . . . . . . . . . . . .  20
     5.6.  OAuth Extensions Error Registration . . . . . . . . . . .  20
       5.6.1.  Registry Contents . . . . . . . . . . . . . . . . . .  20
Show full document text