Authentication and Authorization for Constrained Environments (ACE)
draft-ietf-ace-oauth-authz-06

Document Type Active Internet-Draft (ace WG)
Last updated 2017-03-13
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 Sep 2016
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: September 14, 2017                                     Ericsson
                                                           E. Wahlstroem
                                                        (no affiliation)
                                                              S. Erdtman
                                                              Spotify AB
                                                           H. Tschofenig
                                                                ARM Ltd.
                                                          March 13, 2017

  Authentication and Authorization for Constrained Environments (ACE)
                     draft-ietf-ace-oauth-authz-06

Abstract

   This specification defines a framework for authentication and
   authorization in Internet of Things (IoT) environments.  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 September 14, 2017.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Seitz, et al.          Expires September 14, 2017               [Page 1]
Internet-Draft                     ACE                        March 2017

   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  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   5
     3.1.  OAuth 2.0 . . . . . . . . . . . . . . . . . . . . . . . .   6
     3.2.  CoAP  . . . . . . . . . . . . . . . . . . . . . . . . . .   9
   4.  Protocol Interactions . . . . . . . . . . . . . . . . . . . .   9
   5.  Framework . . . . . . . . . . . . . . . . . . . . . . . . . .  13
     5.1.  Authorization Grants  . . . . . . . . . . . . . . . . . .  14
     5.2.  Client Credentials  . . . . . . . . . . . . . . . . . . .  15
     5.3.  AS Authentication . . . . . . . . . . . . . . . . . . . .  15
     5.4.  The 'Authorize' Endpoint  . . . . . . . . . . . . . . . .  15
     5.5.  The 'Token' Endpoint  . . . . . . . . . . . . . . . . . .  16
       5.5.1.  Client-to-AS Request  . . . . . . . . . . . . . . . .  16
       5.5.2.  AS-to-Client Response . . . . . . . . . . . . . . . .  19
       5.5.3.  Error Response  . . . . . . . . . . . . . . . . . . .  21
       5.5.4.  Request and Response Parameters . . . . . . . . . . .  21
         5.5.4.1.  Audience  . . . . . . . . . . . . . . . . . . . .  21
         5.5.4.2.  Grant Type  . . . . . . . . . . . . . . . . . . .  22
         5.5.4.3.  Token Type  . . . . . . . . . . . . . . . . . . .  22
         5.5.4.4.  Profile . . . . . . . . . . . . . . . . . . . . .  22
         5.5.4.5.  Confirmation  . . . . . . . . . . . . . . . . . .  23
       5.5.5.  Mapping parameters to CBOR  . . . . . . . . . . . . .  25
     5.6.  The 'Introspect' Endpoint . . . . . . . . . . . . . . . .  25
       5.6.1.  RS-to-AS Request  . . . . . . . . . . . . . . . . . .  26
       5.6.2.  AS-to-RS Response . . . . . . . . . . . . . . . . . .  26
       5.6.3.  Error Response  . . . . . . . . . . . . . . . . . . .  28
Show full document text