Re: [OAUTH-WG] Review of draft-ietf-oauth-dyn-reg-metadata-00

Hannes Tschofenig <hannes.tschofenig@gmx.net> Thu, 24 April 2014 09:10 UTC

Return-Path: <hannes.tschofenig@gmx.net>
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 D25861A07EF for <oauth@ietfa.amsl.com>; Thu, 24 Apr 2014 02:10:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.172
X-Spam-Level:
X-Spam-Status: No, score=-2.172 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.272, 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 f8X9HTE5vllW for <oauth@ietfa.amsl.com>; Thu, 24 Apr 2014 02:10:34 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by ietfa.amsl.com (Postfix) with ESMTP id 794351A07A6 for <oauth@ietf.org>; Thu, 24 Apr 2014 02:10:34 -0700 (PDT)
Received: from [192.168.131.128] ([80.92.122.106]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M8JyQ-1WqmLN31rG-00vtVU; Thu, 24 Apr 2014 11:10:23 +0200
Message-ID: <5358D42C.3000803@gmx.net>
Date: Thu, 24 Apr 2014 11:06:52 +0200
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Justin Richer <jricher@mitre.org>, "oauth@ietf.org" <oauth@ietf.org>
References: <5358110C.9020503@gmx.net> <535821A9.8020503@mitre.org>
In-Reply-To: <535821A9.8020503@mitre.org>
X-Enigmail-Version: 1.5.2
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qa5FbNAUKp8V6KDngHh09tXI6U2XWIl0B"
X-Provags-ID: V03:K0:avjMQTN7VJ2233Zf0nd7z5HkYblnOZztsh6KZwT01EvMP+FLh3e YnVbVBWlaMiTpUZiU9rQDzcRiD0NDoJmS4w2NQ2NQ+2Z8sivDnHK/6l3Lf3uboiZ3q2F/4c 3OsQGkozlvqL+vPUTABYO57Sm19uKiwxZITsTPufzsYqpe7SZ86OdapDaSXAA8lXiapmO+b FtFm8Ckx50YRjuDobemBg==
Archived-At: http://mailarchive.ietf.org/arch/msg/oauth/6MZSIBmDWS7KVsfJkGwthDWYTA4
Subject: Re: [OAUTH-WG] Review of draft-ietf-oauth-dyn-reg-metadata-00
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, 24 Apr 2014 09:10:37 -0000

Hi Justin,

thanks again for the quick response.

A few notes below.


On 04/23/2014 10:25 PM, Justin Richer wrote:
> Thank you for the review, responses inline (and this draft still needs
> to be factored back into the main one):
> 
> On 04/23/2014 03:14 PM, Hannes Tschofenig wrote:
>> Hi all,
>>
>> I read through the document as part of my shepherding task; it is nicely
>> written and easy to understand.
>>
>> I only have a few minor suggestions:
>>
>> * client_uri: URL of the homepage of the client.
>>
>> Would it be better to say that this is the URI provides further
>> information about the client software (provided by the client software
>> developer)?
> 
> I personally think "homepage" is a clear designator of that, but would
> not be adverse to extending the definition somewhat.
> 
>> * logo_uri: The value of this field MUST point to a valid image file.
>>
>> Would it make sense to provide a type field here as well, such as in
>> HTML (e.g., type="image/png")?
> 
> Unless we're going to allow the client to register and manage multiple
> images (please, no), then we shouldn't go out of our way to store
> mimetypes. This is a URL to be fetched and/or stored -- its content
> doesn't much matter.
> 
>> * contacts: Would these email addresses be in the format of
>> mailto:user@example.com or would you just use joe@example.com?
>> I am asking because with the URI scheme one could potentially provide
>> other contact information here as well, such as XMPP URIs or so.
> 
> I think you could do either, but what I've seen deployed is the non-URI
> version of joe@example.com. I think it would make sense for it to be
> listed as not just email addresses but also other contact URIs --
> however, I don't think it's particularly useful to devolve into a full
> contact record. It should be simple and actionable by a person, and
> email fits that bill (as well as XMPP might, arguably).

Maybe you want to say that this is a list of email addresses without the
mailto URI scheme prefix. I am just seeing others putting all sorts of
different stuff in there and expect it to work.


> 
>> * policy_uri: Would it be better to call this a privacy notice rather
>> than policy document?
>> Here is a short description what a privacy notice is:
>> https://www.privacyassociation.org/resource_center/privacy_glossary/privacy_notice
> 
> I would think that policy document is a superset of privacy notice, right?

I am not sure what a policy document is.

When you register your application with Facebook then you have to
provide a link to your privacy notice. That made sense to me given the
nature of the data sharing that is going on.

> 
>> * jwks_uri: The text provides little information about how this element
>> is used. I believe that this is an alternative way of using the PoP
>> architecture, where the client registers keys with the authorization
>> server that can then be tied to access tokens. Right? I could add some
>> text in the PoP overview document to explain this and maybe you could
>> include a reference to the PoP document (as an informative reference,
>> for example).
> 
> The text states that this is there for the use of higher level
> protocols. Several of which (including OIDC and BB+, not to mention more
> advanced token types and client authentication methods) have a need to
> tie a key to a client. This, and the proposed jwks value, provide a hook
> for that kind of stuff.

It is difficult to describe the semantic if it is not further explained
how it is supposed to be used. Is this field used in OpenID Connect?

Ciao
hannes


> 
>  -- Justin
> 
>>
>> Ciao
>> Hannes
>>
>>
>>
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>