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

Document Type Active Internet-Draft (ace WG)
Last updated 2020-02-06
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 htmlized bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Jim Schaad
Shepherd write-up Show (last changed 2019-03-02)
IESG IESG state Waiting for Writeup::AD Followup
Consensus Boilerplate Yes
Telechat date
Responsible AD Benjamin Kaduk
Send notices to Jim Schaad <ietf@augustcellars.com>
IANA IANA review state Version Changed - Review Needed
ACE Working Group                                               L. Seitz
Internet-Draft                                                 Combitech
Intended status: Standards Track                             G. Selander
Expires: August 10, 2020                                        Ericsson
                                                           E. Wahlstroem

                                                              S. Erdtman
                                                              Spotify AB
                                                           H. Tschofenig
                                                                Arm Ltd.
                                                        February 7, 2020

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

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 the Constrained Application Protocol (CoAP), thus
   transforming a well-known and widely used authorization solution into
   a form suitable for IoT devices.  Existing specifications are used
   where possible, but extensions are added and profiles are defined to
   better serve the IoT use cases.

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 August 10, 2020.

Seitz, et al.            Expires August 10, 2020                [Page 1]
Internet-Draft                  ACE-OAuth                  February 2020

Copyright Notice

   Copyright (c) 2020 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 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  . . . . . . . . . . . . . . . . . . . . . . . . . .   6
     3.1.  OAuth 2.0 . . . . . . . . . . . . . . . . . . . . . . . .   7
     3.2.  CoAP  . . . . . . . . . . . . . . . . . . . . . . . . . .  10
   4.  Protocol Interactions . . . . . . . . . . . . . . . . . . . .  11
   5.  Framework . . . . . . . . . . . . . . . . . . . . . . . . . .  15
     5.1.  Discovering Authorization Servers . . . . . . . . . . . .  16
       5.1.1.  Unauthorized Resource Request Message . . . . . . . .  16
       5.1.2.  AS Request Creation Hints . . . . . . . . . . . . . .  17
         5.1.2.1.  The Client-Nonce Parameter  . . . . . . . . . . .  19
     5.2.  Authorization Grants  . . . . . . . . . . . . . . . . . .  20
     5.3.  Client Credentials  . . . . . . . . . . . . . . . . . . .  20
     5.4.  AS Authentication . . . . . . . . . . . . . . . . . . . .  21
     5.5.  The Authorization Endpoint  . . . . . . . . . . . . . . .  21
     5.6.  The Token Endpoint  . . . . . . . . . . . . . . . . . . .  21
       5.6.1.  Client-to-AS Request  . . . . . . . . . . . . . . . .  22
       5.6.2.  AS-to-Client Response . . . . . . . . . . . . . . . .  25
       5.6.3.  Error Response  . . . . . . . . . . . . . . . . . . .  27
       5.6.4.  Request and Response Parameters . . . . . . . . . . .  28
         5.6.4.1.  Grant Type  . . . . . . . . . . . . . . . . . . .  28
         5.6.4.2.  Token Type  . . . . . . . . . . . . . . . . . . .  29
         5.6.4.3.  Profile . . . . . . . . . . . . . . . . . . . . .  29
         5.6.4.4.  Client-Nonce  . . . . . . . . . . . . . . . . . .  30
       5.6.5.  Mapping Parameters to CBOR  . . . . . . . . . . . . .  30
     5.7.  The Introspection Endpoint  . . . . . . . . . . . . . . .  31
       5.7.1.  Introspection Request . . . . . . . . . . . . . . . .  32
Show full document text