Authentication and Authorization for Constrained Environments (ACE) using the OAuth 2.0 Framework (ACE-OAuth)
draft-ietf-ace-oauth-authz-12

Document Type Active Internet-Draft (ace WG)
Last updated 2018-05-21
Replaces draft-tschofenig-ace-oauth-iot, draft-tschofenig-ace-oauth-bt, draft-seitz-ace-oauth-authz
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Stream WG state WG Document (wg milestones: Jul 2018 - WGLC for OAuth Authe..., Nov 2018 - Submit "Authenticati... )
Document shepherd Kepeng Li
IESG IESG state I-D Exists
Consensus Boilerplate Yes
Telechat date
Responsible AD (None)
Send notices to "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
ACE Working Group                                               L. Seitz
Internet-Draft                                                 RISE SICS
Intended status: Standards Track                             G. Selander
Expires: November 22, 2018                                      Ericsson
                                                           E. Wahlstroem

                                                              S. Erdtman
                                                              Spotify AB
                                                           H. Tschofenig
                                                                ARM Ltd.
                                                            May 21, 2018

  Authentication and Authorization for Constrained Environments (ACE)
               using the OAuth 2.0 Framework (ACE-OAuth)
                     draft-ietf-ace-oauth-authz-12

Abstract

   This specification defines a framework for authentication and
   authorization in Internet of Things (IoT) environments called ACE-
   OAuth.  The framework is based on a set of building blocks including
   OAuth 2.0 and CoAP, thus making a well-known and widely used
   authorization solution suitable for IoT devices.  Existing
   specifications are used where possible, but where the constraints of
   IoT devices require it, extensions are added and profiles are
   defined.

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 November 22, 2018.

Seitz, et al.           Expires November 22, 2018               [Page 1]
Internet-Draft                  ACE-OAuth                       May 2018

Copyright Notice

   Copyright (c) 2018 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
   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  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   5
     3.1.  OAuth 2.0 . . . . . . . . . . . . . . . . . . . . . . . .   6
     3.2.  CoAP  . . . . . . . . . . . . . . . . . . . . . . . . . .   9
   4.  Protocol Interactions . . . . . . . . . . . . . . . . . . . .  10
   5.  Framework . . . . . . . . . . . . . . . . . . . . . . . . . .  14
     5.1.  Discovering Authorization Servers . . . . . . . . . . . .  15
       5.1.1.  Unauthorized Resource Request Message . . . . . . . .  15
       5.1.2.  AS Information  . . . . . . . . . . . . . . . . . . .  16
     5.2.  Authorization Grants  . . . . . . . . . . . . . . . . . .  17
     5.3.  Client Credentials  . . . . . . . . . . . . . . . . . . .  18
     5.4.  AS Authentication . . . . . . . . . . . . . . . . . . . .  18
     5.5.  The Authorization Endpoint  . . . . . . . . . . . . . . .  18
     5.6.  The Token Endpoint  . . . . . . . . . . . . . . . . . . .  18
       5.6.1.  Client-to-AS Request  . . . . . . . . . . . . . . . .  19
       5.6.2.  AS-to-Client Response . . . . . . . . . . . . . . . .  22
       5.6.3.  Error Response  . . . . . . . . . . . . . . . . . . .  24
       5.6.4.  Request and Response Parameters . . . . . . . . . . .  25
         5.6.4.1.  Audience  . . . . . . . . . . . . . . . . . . . .  25
         5.6.4.2.  Grant Type  . . . . . . . . . . . . . . . . . . .  25
         5.6.4.3.  Token Type  . . . . . . . . . . . . . . . . . . .  26
         5.6.4.4.  Profile . . . . . . . . . . . . . . . . . . . . .  26
         5.6.4.5.  Confirmation  . . . . . . . . . . . . . . . . . .  27
       5.6.5.  Mapping Parameters to CBOR  . . . . . . . . . . . . .  27
     5.7.  The 'Introspect' Endpoint . . . . . . . . . . . . . . . .  28
       5.7.1.  RS-to-AS Request  . . . . . . . . . . . . . . . . . .  29
       5.7.2.  AS-to-RS Response . . . . . . . . . . . . . . . . . .  29
Show full document text