Re: [OAUTH-WG] Draft -07 (major rewrite)
Andrew Arnott <andrewarnott@gmail.com> Sun, 13 June 2010 16:57 UTC
Return-Path: <andrewarnott@gmail.com>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CC33F3A69BF for <oauth@core3.amsl.com>; Sun, 13 Jun 2010 09:57:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.308
X-Spam-Level:
X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=-0.124, BAYES_40=-0.185, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BRtDm2BXa1FJ for <oauth@core3.amsl.com>; Sun, 13 Jun 2010 09:57:44 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by core3.amsl.com (Postfix) with ESMTP id 671B43A6981 for <oauth@ietf.org>; Sun, 13 Jun 2010 09:57:44 -0700 (PDT)
Received: by gxk8 with SMTP id 8so657397gxk.31 for <oauth@ietf.org>; Sun, 13 Jun 2010 09:57:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3bvJkqpk3q/WUv41052doMpOc+LpP6sOhxAxixtli44=; b=TyPIJom8SRBK8hOPHxXA8OhVQD4J2spcLGLKJudPXyefXlA2aH1WuQPxbDyu4aHXUe K9tNeGmUN6WTb6MobGoNr27J9i9t9pIfK1fDEDjTHGUbBcWLWZozHejK8aIy6AZFUjZY P9WVdo3jDAGyT0PYZTZrEcDQfUAfCeaIVz3uo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OJxf6uui8x9zkDmlKTpNayy7kcF6L6XR8V4T8FLa4Txlq+Khe8iuqVGFCAGsYEpcaV K2TjypXTtskvTR0jsk/14BdJh0pk64bMfZdcWb22RBf26oi/GJNCRlZv0CXw3d0jt0ji 9EZDtEDpOecBvHd1hyEEXSIEbJwtdzw1bLeLQ=
MIME-Version: 1.0
Received: by 10.150.131.3 with SMTP id e3mr5581534ybd.413.1276448265054; Sun, 13 Jun 2010 09:57:45 -0700 (PDT)
Received: by 10.151.26.19 with HTTP; Sun, 13 Jun 2010 09:57:45 -0700 (PDT)
In-Reply-To: <C837F7DA.358C4%eran@hueniverse.com>
References: <1276290301.31840.78.camel@localhost.localdomain> <C837F7DA.358C4%eran@hueniverse.com>
Date: Sun, 13 Jun 2010 09:57:45 -0700
Message-ID: <AANLkTimw00NkOVW65lS2WszcqbAmaxRi0ZlKOy-9NmYL@mail.gmail.com>
From: Andrew Arnott <andrewarnott@gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: multipart/alternative; boundary="000e0cd4ce5069ac6c0488ec45a4"
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Draft -07 (major rewrite)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Sun, 13 Jun 2010 16:57:46 -0000
Eran, While the flows in the spec today may have unique sets of required parameters, other flows may exist with overlapping initial parameters (why? perhaps the flows have different rules that don't come into effect until later in the flow). Keeping the type parameter in there would help differentiate those. Yes, the new flows could include a type parameter while the originals did not, but then a token endpoint not prepared for the unexpected flow would mistake the new flow for the old one. -- Andrew Arnott "I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre On Fri, Jun 11, 2010 at 2:25 PM, Eran Hammer-Lahav <eran@hueniverse.com>wrote: > It doesn’t really. It is completely clear what kind of authorization > grant the client is providing simply by looking at the parameter. It might > make the code a few lines longer (a few if-else instead of a switch-case) > but because these are all post parameters, you access them the same way > (i.e. this is not a case where header information is moved to post body, > etc.). > > As for the rescope and revoke operations, we still need to figure out how > to accomplish that. For example, revoking can be done using an HTTP DELETE > operation which is more consistent with HTTP, and rescoping (which is still > tricky because scope can only be decreased) is more a function of a refresh > operation (asking for a new access token using a refresh token and simply > providing a new, lesser scope). > > EHL > > > > On 6/11/10 2:05 PM, "Justin Richer" <jricher@mitre.org> wrote: > > I agree with Marius: I think we should keep the explicit flow name in > there (in the 'type' parameter or equivalent), as it (among other > things) opens the possibility for the rescope and revoke operations. It > makes it very clear how both client and server expect things to behave. > > -- Justin > > On Fri, 2010-06-11 at 16:47 -0400, Marius Scurtescu wrote: > > On Fri, Jun 11, 2010 at 1:11 PM, Eran Hammer-Lahav <eran@hueniverse.com> > wrote: > > > Draft -07 represents a major rearrangement of the document. I still > have a lot of work to do but wanted to share my progress and get some > general feedback. The draft includes a few normative language changes but > the main focus is on the document structure and how the architecture is > explained. > > > > > > Changes include: > > > > > > o Removed device profile. > > > o Added verification code support to user-agent flow. > > > o Removed multiple formats support, leaving JSON as the only format. > > > o Changed assertion "assertion_format" parameter to > "assertion_type". > > > o Removed "type" parameter from token endpoint. > > > > It would be really useful if each request had a unique type, now we > > are back to guessing what is requested, like in WRAP. > > > > One small error that I noticed: section "5.1.4. Refresh Token" is not > > listing client_id and client_secret as optional parameters. > > > > In general I found previous versions much easier to read and > > understand, but maybe I just need more time... > > > > > > Marius > > _______________________________________________ > > 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 > >
- [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Marius Scurtescu
- Re: [OAUTH-WG] Draft -07 (major rewrite) Justin Richer
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Andrew Arnott
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Justin Richer
- Re: [OAUTH-WG] Draft -07 (major rewrite) Chuck Mortimore
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Christian Scholz
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Torsten Lodderstedt
- Re: [OAUTH-WG] Draft -07 (major rewrite) Andrew Arnott
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Brian Eaton
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Dick Hardt
- Re: [OAUTH-WG] Draft -07 (major rewrite) Dick Hardt
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Marius Scurtescu
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Marius Scurtescu
- Re: [OAUTH-WG] Draft -07 (major rewrite) Eran Hammer-Lahav
- Re: [OAUTH-WG] Draft -07 (major rewrite) Marius Scurtescu
- Re: [OAUTH-WG] Draft -07 (major rewrite) Brian Eaton