Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-introspection-02.txt

Thomas Broyer <t.broyer@gmail.com> Thu, 04 December 2014 10:35 UTC

Return-Path: <t.broyer@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD5F11A0171 for <oauth@ietfa.amsl.com>; Thu, 4 Dec 2014 02:35:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.739
X-Spam-Level:
X-Spam-Status: No, score=-1.739 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kAkquQ1iZEQA for <oauth@ietfa.amsl.com>; Thu, 4 Dec 2014 02:34:56 -0800 (PST)
Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BC281A0137 for <oauth@ietf.org>; Thu, 4 Dec 2014 02:34:55 -0800 (PST)
Received: by mail-lb0-f178.google.com with SMTP id f15so14955685lbj.23 for <oauth@ietf.org>; Thu, 04 Dec 2014 02:34:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=+6SIyGygR307A3nU+x3iaPaGDS+J3H/DCLrAye9wLyI=; b=O9iGQWMZPkiGhTBciiK/n/Po9fJYV4hznAbK6a4gFXOb/okNAEzyo0QevhscgG6tDv T6S7XTxBTeW+4xzJlqWKPReofgTjsz+xMQvjIAtDFM6bY5fXhrnRVaFk7vdn5FKkBp9o FSATnPyQX3OnT4NcfZKL7wW8yX3mWAv/rnucj+VwlmYBs8KTTgoAxVa/76FOn2nHCcDw wzD8xK/QLjE9A8PiXWCr2poHjOFvs0tqXIdyItSo63Zd6pC3eoTiAJXJ/LkBLkXVEWjz JnfqagP1YbXjgCxg8w+9Ug9lIxeDAaoCNS1DHen759u747jny/r71bNnblXMxc8orcLy VnWQ==
X-Received: by 10.112.185.68 with SMTP id fa4mr8816800lbc.84.1417689294079; Thu, 04 Dec 2014 02:34:54 -0800 (PST)
MIME-Version: 1.0
References: <20141203235937.18518.61073.idtracker@ietfa.amsl.com> <1CC6F891-189D-416F-8C34-281997F8A1B7@mitre.org>
From: Thomas Broyer <t.broyer@gmail.com>
Date: Thu, 04 Dec 2014 10:34:53 +0000
Message-ID: <CAEayHEM3-NwtWOkE0XunivF6s8T2tutrueBJeoKW=rk8oB4bXA@mail.gmail.com>
To: "Richer, Justin P." <jricher@mitre.org>, "<oauth@ietf.org>" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="001a11c3caa4c68d870509618275"
Archived-At: http://mailarchive.ietf.org/arch/msg/oauth/sBoJgIex8jg5JAOipwWBxynCNH0
Subject: Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-introspection-02.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Dec 2014 10:35:01 -0000

A few notes on the "form" only (not the "content"):

HTTP no longer is RFC 2616, it's RFC 7230 through 7237 (7235 and 7236
actually replacing 2617). Specifically, the GET and POST methods are
defined in RFC 7231.

application/x-www-form-urlencoded refers to RFC 1866; the same media type
is said to be defined in HTML 4 in RFC 6749 and RFC 6750; and HTML 5 is now
a thing. RFC 7009 uses the media type too but doesn't refer to any other
RFC defining it.
I think this draft should either refer to RFC 6749, Appendix B <
https://tools.ietf.org/html/rfc6749#appendix-B> or to HTML 4 (for
consistency with RFC6750) or to HTML 5 <
http://xml2rfc.ietf.org/public/rfc/bibxml4/reference.W3C.REC-html5-20141028.xml>
(because HTML 5 supersedes HTML 4).
I'd go with HTML 5, given that the IANA registration has been updated in
that sense (see
http://www.w3.org/TR/2014/REC-html5-20141028/iana.html#application/x-www-form-urlencoded
and
https://www.iana.org/assignments/media-types/application/x-www-form-urlencoded)
but given that RFC 6749, Appendix B algorithm is a subset of the HTML 5 one
(enforces the use of UTF-8, ignoring the special key "_charset_"), and for
consistency with other OAuth 2.0 specs, then maybe it'd be wiser to use the
RFC 6749, Appendix B algorithm.

References to sections of other specs form broken links in the rfcmarkup
version, because of the name of the other spec appearing between "section N
of" and the bracketed reference. For example, in section 2.3, "section 5.2
of OAuth 2.0 [RFC6749]" should instead read "section 5.2 of [RFC6749]"

There's a dangling "These parameters" in section 2.1. This lacks at least a
verb and a colon ("These parameters are:").

A last note on the content itself: +1, I don't think I have any further
comment to make.

On Thu Dec 04 2014 at 01:05:07 Richer, Justin P. <jricher@mitre.org> wrote:

> Small update to the Introspection draft incorporating comments from the
> past couple days. I haven't put together the IANA considerations section
> that will tie the introspection claims to the JWT registry yet, but that's
> the intent. Please check the diffs, read the new version, and continue to
> send comments to the list.
>
> Thanks,
>  -- Justin
>
> On Dec 3, 2014, at 6:59 PM, internet-drafts@ietf.org wrote:
>
> >
> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> > This draft is a work item of the Web Authorization Protocol Working
> Group of the IETF.
> >
> >        Title           : OAuth 2.0 Token Introspection
> >        Author          : Justin Richer
> >       Filename        : draft-ietf-oauth-introspection-02.txt
> >       Pages           : 11
> >       Date            : 2014-12-03
> >
> > Abstract:
> >   This specification defines a method for a protected resource to query
> >   an OAuth 2.0 authorization server to determine the active state of an
> >   OAuth 2.0 token and to determine meta-information about this token.
> >   OAuth 2.0 deployments can use this method to convey information about
> >   the authorization context of the token from the authorization server
> >   to the protected resource.
> >
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-oauth-introspection/
> >
> > There's also a htmlized version available at:
> > http://tools.ietf.org/html/draft-ietf-oauth-introspection-02
> >
> > A diff from the previous version is available at:
> > http://www.ietf.org/rfcdiff?url2=draft-ietf-oauth-introspection-02
> >
> >
> > Please note that it may take a couple of minutes from the time of
> submission
> > until the htmlized version and diff are available at tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/
> >
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>