Re: [OAUTH-WG] Versioning
Marius Scurtescu <mscurtescu@google.com> Thu, 01 July 2010 19:47 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 108B13A6784 for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 12:47:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.578
X-Spam-Level:
X-Spam-Status: No, score=-101.578 tagged_above=-999 required=5 tests=[AWL=0.399, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 zKtjfnQoFvpS for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 12:47:56 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id B142A3A6A25 for <oauth@ietf.org>; Thu, 1 Jul 2010 12:47:55 -0700 (PDT)
Received: from hpaq13.eem.corp.google.com (hpaq13.eem.corp.google.com [172.25.149.13]) by smtp-out.google.com with ESMTP id o61Jm6eo007658 for <oauth@ietf.org>; Thu, 1 Jul 2010 12:48:06 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1278013686; bh=shSYjakyt8oeFI/TL+yPMlnUu+M=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=K6TxEzKScGwpUUh7kyVhLRPyzcAYIqAVmXk6CE/0hTlpggKGOPaYugPz9FyxjQulB t03bf7tVViecQTkA7Ea8g==
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:x-system-of-record; b=Wef1GkGoasLRyn5krMqB4Zx8Vnlat7OsCMlrekfZ0MQy8jMSnRuhdsprVcp7oHCQW nOA/9QsdoQx6BiE+9Lkdg==
Received: from gyh3 (gyh3.prod.google.com [10.243.50.195]) by hpaq13.eem.corp.google.com with ESMTP id o61JlE9r017586 for <oauth@ietf.org>; Thu, 1 Jul 2010 12:48:05 -0700
Received: by gyh3 with SMTP id 3so1391644gyh.31 for <oauth@ietf.org>; Thu, 01 Jul 2010 12:48:05 -0700 (PDT)
Received: by 10.100.122.10 with SMTP id u10mr307anc.21.1278013681578; Thu, 01 Jul 2010 12:48:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.132.22 with HTTP; Thu, 1 Jul 2010 12:47:41 -0700 (PDT)
In-Reply-To: <1278013130.28743.229.camel@localhost.localdomain>
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> <AANLkTilTDOVNjJw9K0ZismTzbbNeuVcEBktE-8ojDfVR@mail.gmail.com> <012AB2B223CB3F4BB846962876F47217059B694F@SNV-EXVS08.ds.corp.yahoo.com> <AANLkTikZg5FlHsSCVaNJaF9qXL8x7iz9HPImXeJZqLWC@mail.gmail.com> <1278011235.28743.223.camel@localhost.localdomain> <AANLkTinV8TT5gWzFYE88DJsEZS8Wv3dy_dPlRC-TaByp@mail.gmail.com> <1278013130.28743.229.camel@localhost.localdomain>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Thu, 01 Jul 2010 12:47:41 -0700
Message-ID: <AANLkTinpZQcMNQgIz-IYq9hgwktzGUhGxURbLPDAMVAH@mail.gmail.com>
To: Justin Richer <jricher@mitre.org>
Content-Type: text/plain; charset="ISO-8859-1"
X-System-Of-Record: true
Cc: 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 19:47:57 -0000
On Thu, Jul 1, 2010 at 12:38 PM, Justin Richer <jricher@mitre.org> wrote: >> > OAuth tokens as a form-encoded element in a post body? Yes. Keep it. >> >> Just curious. What use case would require that the access token is put >> in the post body as opposed to an http header when accessing a >> protected resource? > > If nothing else, it parallels the use case of a GET-style query > parameter. It makes sense to have it be valid in both ways to allow > developers to put the token in with whatever other parameters they're > passing along. I've got plenty of use cases here for the query > parameters: it's needed for cases where your client can't get any deeper > into HTTP than "hey go fetch me this URL". You can still use query parameters with POST. > What use case says we shouldn't do POST parameters like that? A server > wanting to do early-dispatch of a request was brought up, but that was > only in the case of handling OAuth 1 and 2 simultaneously as I > understood it. If a server's going to be doing dispatch on auth headers > and query parameters already, it seems that it's got the wherewithal to > parse a form-encoded body, too. Parsing the body is not trivial. Some filters do not have access to it (apache mod_redirect for example), some frameworks will allow you to access it once and then commit to a format, a decision that cannot be made by a filter (in Java see ServletRequest: getInputStream vs getReader vs getParameter). Marius
- [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