Re: [OAUTH-WG] First draft of OAuth 2.0

Brian Eaton <beaton@google.com> Wed, 24 March 2010 00:55 UTC

Return-Path: <beaton@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 6497D3A6AF7 for <oauth@core3.amsl.com>; Tue, 23 Mar 2010 17:55:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.547
X-Spam-Level:
X-Spam-Status: No, score=-103.547 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, FM_FORGED_GMAIL=0.622, 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 3d351lCvtFfS for <oauth@core3.amsl.com>; Tue, 23 Mar 2010 17:55:56 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id F29DC3A69DF for <oauth@ietf.org>; Tue, 23 Mar 2010 17:55:55 -0700 (PDT)
Received: from kpbe19.cbf.corp.google.com (kpbe19.cbf.corp.google.com [172.25.105.83]) by smtp-out.google.com with ESMTP id o2O0u9ce027500 for <oauth@ietf.org>; Tue, 23 Mar 2010 17:56:09 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1269392169; bh=uUEvdu6PWvOI4TdZ1HPW2795G5o=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=PtyDbX2thIt8tYwRlcE6eGBNYBbVMqyfC57gtihlAr2ygOZlNCkLmE84aJHRJnLY5 7/qup803piTSk4I7zv3pA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=oTgbp5YnoREQsgJszBq4dvxojvprhlgPJsYoNn8C8cP7JZXW1BaLxq894VVc2gUFo YREQZbSl+hE4ZKuZnheYg==
Received: from vws19 (vws19.prod.google.com [10.241.21.147]) by kpbe19.cbf.corp.google.com with ESMTP id o2O0u771011219 for <oauth@ietf.org>; Tue, 23 Mar 2010 17:56:08 -0700
Received: by vws19 with SMTP id 19so274225vws.23 for <oauth@ietf.org>; Tue, 23 Mar 2010 17:56:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.4.23 with SMTP id 23mr1717504vcp.191.1269392167533; Tue, 23 Mar 2010 17:56:07 -0700 (PDT)
In-Reply-To: <fd6741651003231201l4be70ccew1ea2c20e20c7dd01@mail.gmail.com>
References: <526C3C44-18CF-4A94-A4C6-72702F73AC83@facebook.com> <4BA904F6.7000208@lodderstedt.net> <fd6741651003231201l4be70ccew1ea2c20e20c7dd01@mail.gmail.com>
Date: Tue, 23 Mar 2010 17:56:07 -0700
Message-ID: <daf5b9571003231756j50898d2epdadc5f3f146e5b91@mail.gmail.com>
From: Brian Eaton <beaton@google.com>
To: David Recordon <recordond@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] First draft of OAuth 2.0
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: Wed, 24 Mar 2010 00:55:58 -0000

On Tue, Mar 23, 2010 at 12:01 PM, David Recordon <recordond@gmail.com> wrote:
>> §3
>> - Why is the parameter oauth_client_secret required for refreshing access
>> tokens? Use cases 2.2 and 2.3 do not require the client to use (possess) a
>> secret. Does this imply such client are not entitled to refresh tokens? I
>> would suggest to simply remove this parameter.
>
> It shouldn't be required.  Fixed!
> http://github.com/daveman692/OAuth-2.0/commit/a30843724f241f3ea1052c83dcfec0127a11fe00

It was required in WRAP because is lets you recover if a client web
server that holds many refresh tokens is compromised.  You rotate the
client secret, and then the attacker loses access to user data.

Please add it back. =)