OAuth Token Introspection
draft-ietf-oauth-introspection-00

The information below is for an old version of the document
Document Type Active Internet-Draft (oauth WG)
Last updated 2014-08-26
Replaces draft-richer-oauth-introspection
Stream IETF
Intended RFC status (None)
Formats pdf htmlized bibtex
Reviews
Stream WG state WG Document
Document shepherd Hannes Tschofenig
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
OAuth Working Group                                       J. Richer, Ed.
Internet-Draft                                     The MITRE Corporation
Intended status: Standards Track                         August 22, 2014
Expires: February 23, 2015

                       OAuth Token Introspection
                   draft-ietf-oauth-introspection-00

Abstract

   This specification defines a method for a client or protected
   resource to query an OAuth authorization server to validate the
   active state of an OAuth token and to determine meta-information
   about an OAuth token.

Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [RFC2119].

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 February 23, 2015.

Copyright Notice

   Copyright (c) 2014 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

Richer                  Expires February 23, 2015               [Page 1]
Internet-Draft             oauth-introspection               August 2014

   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  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Introspection Endpoint  . . . . . . . . . . . . . . . . . . .   2
     2.1.  Introspection Request . . . . . . . . . . . . . . . . . .   3
     2.2.  Introspection Response  . . . . . . . . . . . . . . . . .   3
     2.3.  Non-normative Example . . . . . . . . . . . . . . . . . .   4
   3.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   5.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   6
   6.  Normative References  . . . . . . . . . . . . . . . . . . . .   6
   Appendix A.  Document History . . . . . . . . . . . . . . . . . .   6
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   7

1.  Introduction

   In OAuth, the contents of tokens are opaque to clients.  This means
   that the client does not need to know anything about the content or
   structure of the token itself, if there is any.  However, there is
   still a large amount of metadata that may be attached to a token,
   such as its current validity, approved scopes, and extra information
   about the authentication context in which the token was issued.
   These pieces of information are often vital to Protected Resources
   making authorization decisions based on the tokens being presented.
   Since OAuth2 defines no direct relationship between the Authorization
   Server and the Protected Resource, only that they must have an
   agreement on the tokens themselves, there have been many different
   approaches to bridging this gap.

   This specification defines an Introspection Endpoint that allows the
   holder of a token to query the Authorization Server to discover the
   set of metadata for a token.  A Protected Resource may use the
   mechanism described in this draft to query the Introspection Endpoint
   in a particular authorization decision context and ascertain the
   relevant metadata about the token in order to make this authorization
   decision appropriately.

2.  Introspection Endpoint

   The Introspection Endpoint is an OAuth 2 Endpoint that responds to
   HTTP POST requests (and optionally HTTP GET requests) from token
   holders, particularly including Resource Servers and Clients.  The

Richer                  Expires February 23, 2015               [Page 2]
Internet-Draft             oauth-introspection               August 2014

   endpoint takes a single parameter representing the token (and
   optionally further authentication) and returns a JSON document
Show full document text