Re: [OAUTH-WG] Issue: state in web server flow

Evan Gilbert <uidude@google.com> Mon, 19 April 2010 14:24 UTC

Return-Path: <uidude@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 2F90A28C209 for <oauth@core3.amsl.com>; Mon, 19 Apr 2010 07:24:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.857
X-Spam-Level:
X-Spam-Status: No, score=-101.857 tagged_above=-999 required=5 tests=[AWL=0.119, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 oNtRVdwwD3U6 for <oauth@core3.amsl.com>; Mon, 19 Apr 2010 07:24:25 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 71F9528C135 for <oauth@ietf.org>; Mon, 19 Apr 2010 07:17:14 -0700 (PDT)
Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id o3JEGv18028917 for <oauth@ietf.org>; Mon, 19 Apr 2010 16:16:58 +0200
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1271686618; bh=vWbi3MSk3wVisJWt9CHiFCaJxQ4=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=CyERinZJodsui0qwHdpI0VAfLQMJ7vGoF1WewzA3mljssFZRd1+MPOuKpmClXjQeF vxLpKpYKSsKL1//r6IpQw==
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=ckU109qbsOfqn6n0UfvDqEZju9XH+NBpfbsaQqkCmzXqjGjNbni2MsUq6/6h+HnWJ GCmK6jVR4p2dNc0ymcRyw==
Received: from qyk38 (qyk38.prod.google.com [10.241.83.166]) by wpaz29.hot.corp.google.com with ESMTP id o3JEGn47005443 for <oauth@ietf.org>; Mon, 19 Apr 2010 07:16:56 -0700
Received: by qyk38 with SMTP id 38so1520311qyk.5 for <oauth@ietf.org>; Mon, 19 Apr 2010 07:16:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.16.148 with HTTP; Mon, 19 Apr 2010 07:16:36 -0700 (PDT)
In-Reply-To: <4776FFF7-45E6-4945-9548-382A9DB84A95@gmail.com>
References: <1E39CE38-763E-4E3D-96D4-DC757BD53B9D@gmail.com> <90C41DD21FB7C64BB94121FBBC2E723438E30A379E@P3PW5EX1MB01.EX1.SECURESERVER.NET> <4776FFF7-45E6-4945-9548-382A9DB84A95@gmail.com>
From: Evan Gilbert <uidude@google.com>
Date: Mon, 19 Apr 2010 07:16:36 -0700
Received: by 10.229.181.139 with SMTP id by11mr1502704qcb.1.1271686616240; Mon, 19 Apr 2010 07:16:56 -0700 (PDT)
Message-ID: <y2rc8689b661004190716qde78f2d7l1d65f2e2e1973a0c@mail.gmail.com>
To: Dick Hardt <dick.hardt@gmail.com>
Content-Type: multipart/alternative; boundary="0016364ec8a806d33b0484979d74"
X-System-Of-Record: true
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Issue: state in web server flow
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: Mon, 19 Apr 2010 14:24:26 -0000

On Sun, Apr 18, 2010 at 10:36 PM, Dick Hardt <dick.hardt@gmail.com> wrote:

>
> On 2010-04-18, at 10:28 PM, Eran Hammer-Lahav wrote:
>
> >
> >
> >> -----Original Message-----
> >> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
> >> Of Dick Hardt
> >> Sent: Sunday, April 18, 2010 9:20 PM
> >> To: OAuth WG
> >> Subject: [OAUTH-WG] Issue: state in web server flow
> >>
> >> Why was the state parameter removed from the web server flow?
> >
> > I didn't want to both define a state parameter *and* allow for any other
> client-specific parameters in redirection URIs. Because people made the
> point that *any* client-specific parameters are required, I proposed to drop
> the state parameter. After all, servers MUST send back whatever URI they
> receive regardless of it being encoded into a state parameter.
> >
> >> Some AS may require the entire redirect URI to be registered, so the
> state
> >> parameter allows a client to maintain state across calls.
> >
> > I agree that this is useful, but it only makes the spec better if we make
> its use more restrictive. Defining it makes it easier for servers to
> validate the redirection URI, but only if the client is not allowed using
> other client-specific query parameters with it.
>
> Agreed
>
> >
> > If people feel strongly about putting it back, I suggest we only allow it
> with callbacks without any query component as that is the only combination
> it adds value.
>
> Agreed
>

Just to verify what is being proposed... is it:

- We will allow callback URIs with query parameters, and
- We will allow client state, but
- We won't allow a callback with client state to a URI with query parameters


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