Re: [OAUTH-WG] Proposed Syntax Changes in Dynamic Registration

"Donald F Coffin" <donald.coffin@reminetworks.com> Thu, 23 May 2013 21:03 UTC

Return-Path: <donald.coffin@reminetworks.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1167821F969F for <oauth@ietfa.amsl.com>; Thu, 23 May 2013 14:03:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.931
X-Spam-Level:
X-Spam-Status: No, score=-2.931 tagged_above=-999 required=5 tests=[AWL=0.667, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4zYMzWb9muUc for <oauth@ietfa.amsl.com>; Thu, 23 May 2013 14:03:41 -0700 (PDT)
Received: from oproxy12-pub.bluehost.com (oproxy12-pub.bluehost.com [50.87.16.10]) by ietfa.amsl.com (Postfix) with SMTP id E16CE21F86AE for <oauth@ietf.org>; Thu, 23 May 2013 13:22:13 -0700 (PDT)
Received: (qmail 22861 invoked by uid 0); 23 May 2013 20:21:50 -0000
Received: from unknown (HELO host125.hostmonster.com) (74.220.207.125) by oproxy12.bluehost.com with SMTP; 23 May 2013 20:21:50 -0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=reminetworks.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:In-Reply-To:References:Cc:To:From; bh=zxV1yPaKaJAINipR70aN3qKPzPMgMziaaoXsZtnru1E=; b=YdWPpotS1sgO3lZ1lLsMsdt4HzOcFdQU7ixKjcLxFHG/JjL0eBHe4TKXlQiwFMaZsD28a+TQub8ENI9GC2A6vdxMjEZsOzU4FOYmHzttPUtQo/biPOiq5si52W7Lnc5Q;
Received: from [68.4.207.246] (port=2054 helo=HPPavilionElite) by host125.hostmonster.com with esmtpa (Exim 4.80) (envelope-from <donald.coffin@reminetworks.com>) id 1Ufc1G-0007M9-Eg; Thu, 23 May 2013 14:21:50 -0600
From: Donald F Coffin <donald.coffin@reminetworks.com>
To: 'Anthony Nadalin' <tonynad@microsoft.com>, 'Phil Hunt' <phil.hunt@oracle.com>
References: <519A3C9A.8060305@mitre.org> <9D2C4D6F-EBC0-4313-B3B1-5981A865A604@oracle.com> <519A4607.1030900@mitre.org> <DF861D80-C924-427D-9678-08AF9CCB5A61@oracle.com> <a71babc7649b457e899f07954756a635@BY2PR03MB041.namprd03.prod.outlook.com> <519A6715.9040904@mitre.org> <148ab6ca581c49358e1ba8ecdbd791b3@BY2PR03MB041.namprd03.prod.outlook.com> <519D2BE4.6080303@mitre.org> <8ae4313deafe4397b0b312ef38dcf182@BY2PR03MB041.namprd03.prod.outlook.com> <CC5D3E75-98BE-48D8-B755-66AB97186AF6@oracle.com> <be7043660ea2476ab64b7e42895c8793@BY2PR03MB041.namprd03.prod.outlook.com>
In-Reply-To: <be7043660ea2476ab64b7e42895c8793@BY2PR03MB041.namprd03.prod.outlook.com>
Date: Thu, 23 May 2013 13:20:28 -0700
Message-ID: <00f801ce57f2$f7d3ad30$e77b0790$@reminetworks.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00F9_01CE57B8.4B771F20"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQE6nq+xED23CN2RhNJBxWly11UkMwH8LM9SAe6i+LUCC+U8awGbnrkDAgf3EdICPStEZwGUK1tLAd/LEWwBueVLxAGpFsGimaUzFbA=
Content-Language: en-us
X-Identified-User: {1395:host125.hostmonster.com:reminetw:reminetworks.com} {sentby:smtp auth 68.4.207.246 authed with donald.coffin@reminetworks.com}
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] Proposed Syntax Changes in Dynamic Registration
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
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, 23 May 2013 21:03:58 -0000

The issue I have with not providing Dynamic Registration capability within OAuth (as the current document proposes) is that to provide a Dynamic Registration capability will then require the implementation of an additional standard to provide such support.  

 

At the present time, I am responsible for integrating OAuth 2.0 into the current NAESB REQ.21 -- Energy Service Provider Interface (ESPI) standard, which will require the existing standard to be revised.  The last thing the OpenESPI working group needs is to also require the implementation of another standard, such as OpenID, in order to implement a feature (i.e. Application Registration) that is already in the current specification.  The impetus for the current OAuth 2.0 integration is to revise the ESPI standard requirement to utilize OAuth 1.0, which was deprecated with the release of RFC6749 (The OAuth 2.0 Authorization Framework).

 

From: Anthony Nadalin [mailto:tonynad@microsoft.com] 
Sent: Wednesday, May 22, 2013 3:48 PM
To: Phil Hunt
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] Proposed Syntax Changes in Dynamic Registration

 

My mistake, was to say, We already have OpenID Connect doing dynamic registration, I don’t think there is a need to force it into OAuth.

 

 

From: Phil Hunt [mailto:phil.hunt@oracle.com] 
Sent: Wednesday, May 22, 2013 3:16 PM
To: Anthony Nadalin
Cc: Justin Richer; oauth@ietf.org
Subject: Re: [OAUTH-WG] Proposed Syntax Changes in Dynamic Registration

 

I'm having trouble understanding

We already have OAuth doing dynamic registration, I don’t think there is a need to force it into OAuth.

 

 

I would be open to a scim dyn reg version. Particularly to discuss instance metadata mgt which scim is good at and the credential managemenr/bootstrap process as it pertains to oauth.  Never-the-less the overwhelming priority has been apparently to simply standardize oidc and uma implementations as is. This I am not comfortable with but i can live with if there is give and take. 

 

I feel the subject is well in charter and is an important issue due to the life-cycle management issues behind clients and the need to make public clients the security equiv. of confidential clients. 

 

Phil


On 2013-05-22, at 14:22, Anthony Nadalin <tonynad@microsoft.com> wrote:

I totally disagree with your characterization of SCIM, while it can be used from server to server (provision one system to another) it can also be client to endpoint (initial provisioning and JIT provisioning). SCIM is fairly simple (but can be complex), I also have concerns about SCIM not being 100% restful but that does not stop us from using it. I also agree that we should let OAuth do what it’s good at and don’t try to force it into something that it’s not. We already have OAuth doing dynamic registration, I don’t think there is a need to force it into OAuth.

 

 

From: Justin Richer [mailto:jricher@mitre.org] 
Sent: Wednesday, May 22, 2013 1:35 PM
To: Anthony Nadalin
Cc: Phil Hunt; oauth@ietf.org
Subject: Re: [OAUTH-WG] Proposed Syntax Changes in Dynamic Registration

 

I'm not sure why you don't think it's in scope, it's in the working group's charter:

  http://www.ietf.org/dyn/wg/charter/oauth-charter.html

So ... it's definitely in scope, and has been for over a year and a half. This is the tenth version of this document-- an IETF Working Group document at that-- that's been posted to the group with every revision and there has been significant conversation around it, especially over the last six months since I took over the editor role. There are also a handful of implementations of this, and while most of them are built to do OpenID Connect or UMA (which are directly built on OAuth), I know there are some that also do plain OAuth. (Not the least of which is one that I have personally implemented and deployed.)

SCIM doesn't solve client management particularly well, since it's made for users more than anything. The usage model of SCIM is also quite different -- it's really intended to be used between two servers to transfer information, as opposed to handling self-asserted claims. I understand that some implementations like UAA have done their static registration using a SCIM profile, but it's not dynamic registration, really. I think it's too much of a square-peg-round-hole problem, at least with SCIM as it is today; so let SCIM do what it's good at, and don't try to force it into something it's not.

Furthermore, be careful not to conflate SCIM with REST. Ultimately, Dynamic Registration was meant to be a fairly simple REST/JSON API that would be easy to implement, especially for clients. Just because SCIM is RESTful doesn't mean it's a good structure for other RESTful APIs. Namely, I don't think the extra structure and hooks with SCIM really buy you anything here, especially with the additions and changes you'd have to make to SCIM.

And finally, nobody to date has actually written a proposal that is even remotely SCIM based. 

 -- Justin

On 05/22/2013 02:39 PM, Anthony Nadalin wrote:

So, I really don’t understand why dynamic registration is in scope, I understand this relative to OpenID Connect but not OAuth, if this is indeed in scope then I would have expected that the endpoint be based upon SCIM and not something else like what has been done here. 

 

From: Justin Richer [mailto:jricher@mitre.org] 
Sent: Monday, May 20, 2013 11:10 AM
To: Anthony Nadalin
Cc: Phil Hunt; oauth@ietf.org
Subject: Re: [OAUTH-WG] Proposed Syntax Changes in Dynamic Registration

 

Tony, can you be more specific? What needs to be changed in your opinion? What text changes would you suggest?

 -- Justin

On 05/20/2013 02:09 PM, Anthony Nadalin wrote:

Agree

 

From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of Phil Hunt
Sent: Monday, May 20, 2013 9:42 AM
To: Justin Richer
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] Proposed Syntax Changes in Dynamic Registration

 

This draft isn't ready for LC. 

Phil


On 2013-05-20, at 8:49, Justin Richer <jricher@mitre.org> wrote:

But also keep in mind that this is last-call, and that we don't really want to encourage avoidable drastic changes at this stage. 

 -- Justin





On 05/20/2013 11:21 AM, Phil Hunt wrote:

Keep in mind there may be other changes coming. 

 

The issue is that new developers can't figure out what token is being referred to. 


Phil


On 2013-05-20, at 8:09, Justin Richer <jricher@mitre.org> wrote:

Phil Hunt's review of the Dynamic Registration specification has raised a couple of issues that I felt were getting buried by the larger discussion (which I still strongly encourage others to jump in to). Namely, Phil has suggested a couple of syntax changes to the names of several parameters. 


1) expires_at -> client_secret_expires_at
2) issued_at -> client_id_issued_at
3) token_endpoint_auth_method -> token_endpoint_client_auth_method


I'd like to get a feeling, especially from developers who have deployed this draft spec, what we ought to do for each of these:

 A) Keep the parameter names as-is
 B) Adopt the new names as above
 C) Adopt a new name that I will specify

In all cases, clarifying text will be added to the parameter *definitions* so that it's more clear to people reading the spec what each piece does. Speaking as the editor: "A" is the default as far as I'm concerned, since we shouldn't change syntax without very good reason to do so. That said, if it's going to be better for developers with the new parameter names, I am open to fixing them now.

Naming things is hard.

 -- Justin

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth