Re: [apps-discuss] Reserved URI query parameter in draft-ietf-oauth-v2-bearer

Eran Hammer <eran@hueniverse.com> Sun, 15 April 2012 06:31 UTC

Return-Path: <eran@hueniverse.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B82D21F8755 for <apps-discuss@ietfa.amsl.com>; Sat, 14 Apr 2012 23:31:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
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 tf8HzdN9KiaI for <apps-discuss@ietfa.amsl.com>; Sat, 14 Apr 2012 23:31:30 -0700 (PDT)
Received: from p3plex2out01.prod.phx3.secureserver.net (p3plex2out01.prod.phx3.secureserver.net [184.168.131.12]) by ietfa.amsl.com (Postfix) with ESMTP id E35AF21F86F2 for <apps-discuss@ietf.org>; Sat, 14 Apr 2012 23:31:29 -0700 (PDT)
Received: from P3PWEX2HT003.ex2.secureserver.net ([184.168.131.11]) by p3plex2out01.prod.phx3.secureserver.net with bizsmtp id y6XV1i0010EuLVk016XVtA; Sat, 14 Apr 2012 23:31:29 -0700
Received: from P3PWEX2MB008.ex2.secureserver.net ([169.254.8.115]) by P3PWEX2HT003.ex2.secureserver.net ([184.168.131.11]) with mapi id 14.02.0247.003; Sat, 14 Apr 2012 23:31:29 -0700
From: Eran Hammer <eran@hueniverse.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Mark Nottingham <mnot@mnot.net>
Thread-Topic: [apps-discuss] Reserved URI query parameter in draft-ietf-oauth-v2-bearer
Thread-Index: AQHNGbtQA3AE6iq1N0CHEtRtSCOel5aZuYyAgAAT1QCAAaFFoA==
Date: Sun, 15 Apr 2012 06:31:28 +0000
Message-ID: <0CBAEB56DDB3A140BA8E8C124C04ECA2FE83A2@P3PWEX2MB008.ex2.secureserver.net>
References: <4F866AC0.3000603@qualcomm.com> <01OE8FW1U53G00ZUIL@mauve.mrochek.com> <82462DAA-5118-4108-AA5C-FBEBBC563D4E@mnot.net> <01OE921YMRSW00ZUIL@mauve.mrochek.com> <4F8898A9.8020806@cs.tcd.ie> <22B64109-DAFD-4F2A-B1DA-5950E732882A@mnot.net> <4F88AA3A.8040401@cs.tcd.ie>
In-Reply-To: <4F88AA3A.8040401@cs.tcd.ie>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [64.74.213.174]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Pete Resnick <presnick@qualcomm.com>, Ned Freed <ned.freed@mrochek.com>, Apps Discuss <apps-discuss@ietf.org>, "draft-ietf-oauth-v2-bearer.all@tools.ietf.org" <draft-ietf-oauth-v2-bearer.all@tools.ietf.org>
Subject: Re: [apps-discuss] Reserved URI query parameter in draft-ietf-oauth-v2-bearer
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Apr 2012 06:31:30 -0000

> -----Original Message-----
> From: apps-discuss-bounces@ietf.org [mailto:apps-discuss-
> bounces@ietf.org] On Behalf Of Stephen Farrell
> Sent: Friday, April 13, 2012 3:36 PM
> To: Mark Nottingham
> Cc: Pete Resnick; Ned Freed; draft-ietf-oauth-v2-bearer.all@tools.ietf.org;
> Apps Discuss
> Subject: Re: [apps-discuss] Reserved URI query parameter in draft-ietf-
> oauth-v2-bearer
> 
> 
> 
> On 04/13/2012 10:24 PM, Mark Nottingham wrote:
> > Because it's a name space that is managed and owned by the authority of
> the URI, not any standards organisation.
> >
> > I.e. we tell them how the URI is structured, not what to put into it.
> >
> > We made *one* exception for this in .well-known as an escape valve for
> abuse. If we continue allowing this kind of abuse, we'll have little defence
> against things like standardising filename extensions in URLs and reserving an
> "/about/" URI's semantics -- things which are clearly violating the architecture
> of the WWW:
> >  http://www.w3.org/TR/webarch/#uri-opacity
> 
> (Sticking with the naivety:-) So, what's different there from how the base
> oauth draft registers client_id and shows how that can be used in a GET
> request? [1]

Big difference. The base draft specifies its own endpoints as part of a complete API package for obtaining authorization. These parameters are scoped only for the endpoints defined and not for any others. There is no possibility of conflict because the specification defines the entire namespace.

OTOH, the bearer spec is applied to *any* web resources using OAuth authentication where some other namespace definition must exist.

EH
 
> Ta,
> S.
> 
> [1] http://tools.ietf.org/html/draft-ietf-oauth-v2-25#page-24
>     (bottom of page)
> 
> 
> >
> > Cheers,
> >
> >
> > On 13/04/2012, at 4:20 PM, Stephen Farrell wrote:
> >
> >>
> >>
> >> On 04/13/2012 08:43 AM, Ned Freed wrote:
> >>> I certainly don't object to doing that. In fact I don't object to
> >>> dropping this nasty hack from the document, although perhaps
> >>> documenting it as *not* standardized and explaining why it sucks would
> be even better.
> >>
> >> So I've a possibly naive question:
> >>
> >> Why is it harmful to standardise a parameter name for use in query
> >> strings?
> >>
> >> Note: I'm not asking if access_token is a good or bad name for one of
> >> those, nor how exactly to standardise one well or badly, nor who
> >> should do that, but it seems from the comments here that some folks
> >> are against the idea of standardising anything after the authority is
> >> a bad idea, and I don't get why exactly that might be the case.
> >>
> >> Thanks,
> >> S.
> >>
> >
> > --
> > Mark Nottingham
> > http://www.mnot.net/
> >
> >
> >
> >
> >
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss