Authorization for the Internet of Things using OAuth 2.0
draft-ietf-ace-oauth-authz-00
The information below is for an old version of the document |
Document |
Type |
|
Active Internet-Draft (ace WG)
|
|
Last updated |
|
2015-12-21
|
|
Stream |
|
IETF
|
|
Intended RFC status |
|
(None)
|
|
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 |
|
No shepherd assigned
|
IESG |
IESG state |
|
I-D Exists
|
|
Consensus Boilerplate |
|
Unknown
|
|
Telechat date |
|
|
|
Responsible AD |
|
(None)
|
|
Send notices to |
|
(None)
|
ACE Working Group L. Seitz
Internet-Draft SICS
Intended status: Standards Track G. Selander
Expires: June 23, 2016 Ericsson
E. Wahlstroem
S. Erdtman
Nexus Technology
H. Tschofenig
ARM Ltd.
December 21, 2015
Authorization for the Internet of Things using OAuth 2.0
draft-ietf-ace-oauth-authz-00
Abstract
This memo defines how to use OAuth 2.0 as an authorization framework
with Internet of Things (IoT) deployments, thus bringing a well-known
and widely used security solution to IoT devices. Where possible
vanilla OAuth 2.0 is used, but where the limitations of IoT devices
require it, profiles and extensions are provided.
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 June 23, 2016.
Copyright Notice
Copyright (c) 2015 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
Seitz, et al. Expires June 23, 2016 [Page 1]
Internet-Draft OAuth 2.0 IoT Authorization December 2015
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 . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1. OAuth 2.0 . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2. CoAP . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.3. Object Security . . . . . . . . . . . . . . . . . . . . . 8
4. Protocol Interactions . . . . . . . . . . . . . . . . . . . . 8
5. OAuth 2.0 Profiling . . . . . . . . . . . . . . . . . . . . . 12
5.1. Communication Security Protocol . . . . . . . . . . . . . 12
5.2. Authorization Information Resource at the Resource Server 13
5.3. Authorization Information Format . . . . . . . . . . . . 13
5.4. CBOR Data Formats . . . . . . . . . . . . . . . . . . . . 13
6. Deployment Scenarios . . . . . . . . . . . . . . . . . . . . 13
6.1. Client and Resource Server are Offline . . . . . . . . . 14
6.2. Resource Server Offline . . . . . . . . . . . . . . . . . 17
6.3. Token Introspection with an Offline Client . . . . . . . 21
6.4. Always-On Connectivity . . . . . . . . . . . . . . . . . 25
6.5. Token-less Authorization . . . . . . . . . . . . . . . . 26
6.6. Securing Group Communication . . . . . . . . . . . . . . 29
7. Security Considerations . . . . . . . . . . . . . . . . . . . 30
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 30
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 30
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 30
10.1. Normative References . . . . . . . . . . . . . . . . . . 30
10.2. Informative References . . . . . . . . . . . . . . . . . 32
Appendix A. Design Justification . . . . . . . . . . . . . . . . 33
Appendix B. Optimizations . . . . . . . . . . . . . . . . . . . 35
Appendix C. CoAP and CBOR profiles for OAuth 2.0 . . . . . . . . 36
C.1. Profile for Token resource . . . . . . . . . . . . . . . 36
C.1.1. Token Request . . . . . . . . . . . . . . . . . . . . 36
C.1.2. Token Response . . . . . . . . . . . . . . . . . . . 38
Show full document text