Re: [OAUTH-WG] Versioning
Marius Scurtescu <mscurtescu@google.com> Thu, 01 July 2010 18:35 UTC
Return-Path: <mscurtescu@google.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 71A7C3A67A3 for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:35:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.185
X-Spam-Level:
X-Spam-Status: No, score=-105.185 tagged_above=-999 required=5 tests=[AWL=0.192, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 XekcHndyGrMd for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:35:49 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id ADB2C3A6868 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:35:48 -0700 (PDT)
Received: from kpbe11.cbf.corp.google.com (kpbe11.cbf.corp.google.com [172.25.105.75]) by smtp-out.google.com with ESMTP id o61IZxjI032691 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:35:59 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1278009360; bh=jhspOnCn7zmJLqm9HEDH6LTikDM=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding; b=iMkB9b83kWO3LTfMO+AS6WSchXd2YWkYSIHqVM45hcIEBslLIVNthuCfEvUPn2wQ1 Uz5WzVQ/wbmQeOtZXzqLQ==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:content-transfer-encoding:x-system-of-record; b=M6SPcOQ+ltmGXwrdqB/jrgpZTFnfbxJIm2/bCmVZefVY1q9072Zs9FN/31TMfBr4n Cxe7FtVsJEE6RQNXPvpVQ==
Received: from gwb10 (gwb10.prod.google.com [10.200.2.10]) by kpbe11.cbf.corp.google.com with ESMTP id o61IZwlQ023000 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:35:58 -0700
Received: by gwb10 with SMTP id 10so1343088gwb.31 for <oauth@ietf.org>; Thu, 01 Jul 2010 11:35:58 -0700 (PDT)
Received: by 10.100.163.13 with SMTP id l13mr13380176ane.267.1278009358177; Thu, 01 Jul 2010 11:35:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.132.22 with HTTP; Thu, 1 Jul 2010 11:35:38 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C475@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <4C2C6D4A.5010401@cdatazone.org> <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C3E6@P3PW5EX1MB01.EX1.SECURESERVER.NET> <012AB2B223CB3F4BB846962876F47217059B693B@SNV-EXVS08.ds.corp.yahoo.com> <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C454@P3PW5EX1MB01.EX1.SECURESERVER.NET> <AANLkTikjW5OqYJIzwxrooAmHoWR5tNX1522TTBLH5rBT@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C475@P3PW5EX1MB01.EX1.SECURESERVER.NET>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Thu, 01 Jul 2010 11:35:38 -0700
Message-ID: <AANLkTilTDOVNjJw9K0ZismTzbbNeuVcEBktE-8ojDfVR@mail.gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Versioning
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: Thu, 01 Jul 2010 18:35:51 -0000
On Thu, Jul 1, 2010 at 11:24 AM, Eran Hammer-Lahav <eran@hueniverse.com> wrote: > > If you would like to discuss a version for the header, please provide examples and requirements for what changes in the future you would like to support. Not sure about the future, but looking at OAuth 1 vs OAuth 2. A protected resource request filter may want to decide early what protocol it deals with so it can call the appropriate handler, or to enforce HTTPS for OAuth 2 for example. Sure, it can apply heuristics right now, but it would be nice to have a more deterministic way which can also be extended in the future. You can always embed the protocol version inside the token I guess, so I don't think this is a huge issue. I was not part of the 1.0 vs 1.0a discussions, so not sure what was the conclusion there. Marius > > EHL > >> When tokens are passed in the query string there is no scheme. >> >> Marius >> >> > >> > EHL >> > >> >> -----Original Message----- >> >> From: William Mills [mailto:wmills@yahoo-inc.com] >> >> Sent: Thursday, July 01, 2010 10:49 AM >> >> To: Eran Hammer-Lahav; Rob Richards; oauth@ietf.org >> >> Subject: RE: [OAUTH-WG] Versioning >> >> >> >> My feeling on this is that versioning explicitly in the protocol adds >> >> clarity and some small level of compatibility. Different auth and >> >> token endpoints are easy, what's harder is supporting multiple >> >> protocols on the same protected resource. It's on the protected >> >> resource I'd like to see some clearer protocol version spec so I'm >> >> not having to figure out from the variable names which protocol it is. >> >> >> >> > -----Original Message----- >> >> > From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On >> >> > Behalf Of Eran Hammer-Lahav >> >> > Sent: Thursday, July 01, 2010 9:36 AM >> >> > To: Rob Richards; OAuth WG (oauth@ietf.org) >> >> > Subject: Re: [OAUTH-WG] Versioning >> >> > >> >> > Hi Rob, >> >> > >> >> > > -----Original Message----- >> >> > > From: Rob Richards [mailto:rrichards@cdatazone.org] >> >> > > Sent: Thursday, July 01, 2010 3:26 AM >> >> > > To: OAuth WG (oauth@ietf.org) Eran Hammer-Lahav >> >> > > Subject: Versioning >> >> > > >> >> > > Versioning is still something that needs to be addressed >> >> > before being >> >> > > being able to consider the draft core complete. >> >> > >> >> > Versioning rarely works because when you define it, you have no >> >> > idea what the requirements will be for the next version. A good >> >> > example is the OAuth 1.0 version parameter. When we worked to >> >> > revised 1.0 into 1.0a, we had a long debate on changing the >> >> > protocol version number. We had a hard time agreeing on what the >> >> > version meant and what was it a version >> >> > *of*: the signature method or the token flow. >> >> > >> >> > If this protocol will require significant changes in the future >> >> > that go beyond its extensibility support, such a new version will >> >> > need to use different endpoints (token or end-user authorization) >> >> > and/or different HTTP authentication scheme. >> >> > >> >> > If you want to discuss versioning, you must provide your >> >> > requirements for such a feature, and clearly show how they are not >> >> > served by the current extensibility proposal. >> >> > >> >> > > On this I'm still of the opinion that at the very minimum you >> >> > > will need to require an oauth_version parameter for the resource >> >> > endpoints, >> >> > > if not also for the others as well. >> >> > >> >> > I think the difficulty of differentiating a 1.0 from a 2.0 >> >> > protected resource request is exaggerated. As said before, you can >> >> > tell the difference based on the presence of other parameter >> >> > (oauth_signature_method), or by examining the provided token >> >> > (assuming you issue different tokens for each version). The >> >> > argument that a 2.0 request can also be a malformed 1.0 request is >> >> > silly. I have yet to hear about that level of incompetence for a >> >> > 1.0 developer (and I've heard about a lot) - omitting every other >> required parameter. >> >> > >> >> > At most, I'm open to renaming the oauth_token parameter to >> >> > something else (oauth_access_token, oauth.token, oauth-token, >> >> > etc.) but I think even that is not needed. >> >> > >> >> > EHL >> >> > _______________________________________________ >> >> > 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] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning Justin Richer
- Re: [OAUTH-WG] Versioning Justin Richer
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning Justin Richer
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning Manger, James H
- Re: [OAUTH-WG] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning David Recordon
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Stefanie Dronia
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Stefanie Dronia
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning Eran Hammer-Lahav
- Re: [OAUTH-WG] Versioning Marius Scurtescu
- Re: [OAUTH-WG] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning Rob Richards
- Re: [OAUTH-WG] Versioning William Mills
- Re: [OAUTH-WG] Versioning Marius Scurtescu