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

Document Type Active Internet-Draft (oauth WG)
Last updated 2019-09-11 (latest revision 2019-07-21)
Replaces draft-campbell-oauth-sts, draft-jones-oauth-token-exchange
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf htmlized bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Rifaat Shekh-Yusef
Shepherd write-up Show (last changed 2017-12-14)
IESG IESG state RFC Ed Queue
Consensus Boilerplate Yes
Telechat date
Responsible AD Roman Danyliw
Send notices to "Hannes Tschofenig" <Hannes.Tschofenig@gmx.net>, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
RFC Editor RFC Editor state RFC-EDITOR
OAuth Working Group                                             M. Jones
Internet-Draft                                                A. Nadalin
Intended status: Standards Track                               Microsoft
Expires: January 21, 2020                               B. Campbell, Ed.
                                                           Ping Identity
                                                              J. Bradley
                                                                  Yubico
                                                            C. Mortimore
                                                              Salesforce
                                                           July 20, 2019

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

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 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 January 21, 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

Jones, et al.           Expires January 21, 2020                [Page 1]
Internet-Draft          OAuth 2.0 Token Exchange               July 2019

   carefully, as they describe your rights 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.  Delegation vs. Impersonation Semantics  . . . . . . . . .   4
     1.2.  Requirements Notation and Conventions . . . . . . . . . .   6
     1.3.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   6
   2.  Token Exchange Request and Response . . . . . . . . . . . . .   6
     2.1.  Request . . . . . . . . . . . . . . . . . . . . . . . . .   6
       2.1.1.  Relationship Between Resource, Audience and Scope . .   9
     2.2.  Response  . . . . . . . . . . . . . . . . . . . . . . . .   9
       2.2.1.  Successful Response . . . . . . . . . . . . . . . . .   9
       2.2.2.  Error Response  . . . . . . . . . . . . . . . . . . .  11
     2.3.  Example Token Exchange  . . . . . . . . . . . . . . . . .  11
   3.  Token Type Identifiers  . . . . . . . . . . . . . . . . . . .  13
   4.  JSON Web Token Claims and Introspection Response Parameters .  15
     4.1.  "act" (Actor) Claim . . . . . . . . . . . . . . . . . . .  15
     4.2.  "scope" (Scopes) Claim  . . . . . . . . . . . . . . . . .  17
     4.3.  "client_id" (Client Identifier) Claim . . . . . . . . . .  18
     4.4.  "may_act" (Authorized Actor) Claim  . . . . . . . . . . .  18
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  19
   6.  Privacy Considerations  . . . . . . . . . . . . . . . . . . .  20
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  20
     7.1.  OAuth URI Registration  . . . . . . . . . . . . . . . . .  20
       7.1.1.  Registry Contents . . . . . . . . . . . . . . . . . .  20
     7.2.  OAuth Parameters Registration . . . . . . . . . . . . . .  21
       7.2.1.  Registry Contents . . . . . . . . . . . . . . . . . .  21
     7.3.  OAuth Access Token Type Registration  . . . . . . . . . .  22
       7.3.1.  Registry Contents . . . . . . . . . . . . . . . . . .  22
     7.4.  JSON Web Token Claims Registration  . . . . . . . . . . .  22
       7.4.1.  Registry Contents . . . . . . . . . . . . . . . . . .  22
     7.5.  OAuth Token Introspection Response Registration . . . . .  23
       7.5.1.  Registry Contents . . . . . . . . . . . . . . . . . .  23
     7.6.  OAuth Extensions Error Registration . . . . . . . . . . .  23
       7.6.1.  Registry Contents . . . . . . . . . . . . . . . . . .  23
Show full document text