Review of draft-wmills-oauth-lrdd-06.txt

Jan Algermissen <jan.algermissen@nordsc.com> Fri, 30 November 2012 09:12 UTC

Return-Path: <jan.algermissen@nordsc.com>
X-Original-To: link-relations@ietfa.amsl.com
Delivered-To: link-relations@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 46C9C21F8448 for <link-relations@ietfa.amsl.com>; Fri, 30 Nov 2012 01:12:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.76
X-Spam-Level:
X-Spam-Status: No, score=-0.76 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BC7NWeEgGGpS for <link-relations@ietfa.amsl.com>; Fri, 30 Nov 2012 01:12:08 -0800 (PST)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by ietfa.amsl.com (Postfix) with ESMTP id 8806D21F846C for <link-relations@ietf.org>; Fri, 30 Nov 2012 01:12:08 -0800 (PST)
Received: from [192.168.2.111] (p548FBDB9.dip.t-dialin.net [84.143.189.185]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0MdArm-1TwRim2TzO-00ILcY; Fri, 30 Nov 2012 10:12:06 +0100
From: Jan Algermissen <jan.algermissen@nordsc.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: Review of draft-wmills-oauth-lrdd-06.txt
Message-Id: <A92B00EE-6A9C-496D-B978-5FE9577788CF@nordsc.com>
Date: Fri, 30 Nov 2012 10:12:05 +0100
To: link-relations@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
X-Provags-ID: V02:K0:4fOIvPfFot2OGU6ZWaRJm4zwlGn/Jnmvl+MIp5eztK4 1fb4UR31q69F32F2j+VyAHGNzG1eo7Kp4gRgM1l4M02jH6T0P8 NLDz22KvVxvL4Miya7YUqDSSV0M6585tL1aM2lvMUeoiQXxc3i tt215WcyVal4Qq8ml2CaBBYNQ7Q4psI7/sCtYWx3OJItuFZqYP oTl8L1b92VZ0bC9zGchwlumueclBp4SYxc4+yxw0gV8B2wpNUf 2jtP7CcpODolBJiDIvYjzwh5bqev9bcJKZH3btADZpZHKBU61V FEn+CyizHtJ+8wlSXmDKtKWLGu09UnvU7DR9BxKWbumpSD6/ks Akt/xT1PyJnsKYIdfPnqizQIWRPJ0mcafFF0SsY5LIKZ5svI+d +0vmFyVKcwtDQ==
X-BeenThere: link-relations@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <link-relations.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/link-relations>, <mailto:link-relations-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/link-relations>
List-Post: <mailto:link-relations@ietf.org>
List-Help: <mailto:link-relations-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/link-relations>, <mailto:link-relations-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Nov 2012 09:12:09 -0000

Hi,

this is a review of draft-wmills-oauth-lrdd-06.txt

Jan


Overall:

"link type" -> "link relation type"


1. Introduction

I don't think that the I-D needs to reference "Web Host Metadata" and "Web Finger" specs. The means of using the relation types is orthogonal to their specification.

3. OAuth 2 Link Types  (-> "Link Relation Types" :-)

Consider s/endpoint/entrypoint/g - I know that OAuth uses 'endpoint', but the proper term on the Web would really be 'entry point'

3.1 [Change headline to:] The 'oauth2-authorize' Link Relation Type

Suggested rewording:

"This link relation type indicates a resource that represents an OAuth 2 authorization entry point to be used
   for user authentication/authorization to grant access to a protected
   resource."


3.2 [Change headline to:] The 'oauth2-token' Link Relation Type

Suggested rewording:

"This link relation type indicates a resource that represents an OAuth 2 token entry point to be used for obtaining
tokens to access protected services.  This link type has two link-extensions: ...."


4.1 - 4.3

Likewise 3.1 and 3.2 change the headline and text. What is to be defined here is not the endpoint (erm, entry point) but the link relation type.


In addition, I second Julian's comments made here:

http://www.ietf.org/mail-archive/web/link-relations/current/msg00418.html

One final remark,

Given that there are a number of OAuth-ish protocols existing and emerging I think it would be a good idea to investigate decoupling the link relation types from these protocols - if possible. An 'authorization endpoint' likely has the same semantic across all of those protocols.

If clients can determine the actual variant at runtime, *after* discovering the entry point resources we would not need to register virtualy the same link relation types over and over again for all the protcols.

Please do take a look whether this is possible. (Your I-D does this already for OAuth 1 and 2)

Jan