Re: [OAUTH-WG] Issue: 'username' parameter proposal

Marius Scurtescu <mscurtescu@google.com> Mon, 19 April 2010 17:32 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 E954F3A67B5 for <oauth@core3.amsl.com>; Mon, 19 Apr 2010 10:32:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.753
X-Spam-Level:
X-Spam-Status: No, score=-101.753 tagged_above=-999 required=5 tests=[AWL=0.224, 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 IqHXGplnDK7Q for <oauth@core3.amsl.com>; Mon, 19 Apr 2010 10:32:39 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 161023A696E for <oauth@ietf.org>; Mon, 19 Apr 2010 10:30:23 -0700 (PDT)
Received: from kpbe20.cbf.corp.google.com (kpbe20.cbf.corp.google.com [172.25.105.84]) by smtp-out.google.com with ESMTP id o3JHUDJD027536 for <oauth@ietf.org>; Mon, 19 Apr 2010 19:30:14 +0200
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1271698214; bh=M2Sxmy19EUZX+Vow9heHIP6CDR0=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dWrVFyzlZZUBeq7I1oqKmqH2hcxlCw0YSk93IA1/Txi6q3eCDBiNGlrcYK0hQoAbP m6UtKAgD4skuNfHCbl58Q==
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=Xqvb1r7W8SwQkdsO2taGGOCGZCMu3i3LGXAXx6AwYNPFzau2egfWt1FDd5nugcQz3 Z4H8opTCN4WARPByGilGQ==
Received: from pwi9 (pwi9.prod.google.com [10.241.219.9]) by kpbe20.cbf.corp.google.com with ESMTP id o3JHUBbx028320 for <oauth@ietf.org>; Mon, 19 Apr 2010 10:30:12 -0700
Received: by pwi9 with SMTP id 9so3688690pwi.13 for <oauth@ietf.org>; Mon, 19 Apr 2010 10:30:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.141.107.2 with HTTP; Mon, 19 Apr 2010 10:29:51 -0700 (PDT)
In-Reply-To: <u2jc8689b661004191006hc3c7fb3eid09feafd57d2fd8a@mail.gmail.com>
References: <r2pc8689b661004190833tf46085bayb92b840acf080bb4@mail.gmail.com> <C7F1C6AC.327EE%eran@hueniverse.com> <u2jc8689b661004191006hc3c7fb3eid09feafd57d2fd8a@mail.gmail.com>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Mon, 19 Apr 2010 10:29:51 -0700
Received: by 10.141.1.6 with SMTP id d6mr4402742rvi.175.1271698211218; Mon, 19 Apr 2010 10:30:11 -0700 (PDT)
Message-ID: <h2p74caaad21004191029oc987e73rc73a81cccce130ce@mail.gmail.com>
To: Evan Gilbert <uidude@google.com>
Content-Type: text/plain; charset="ISO-8859-1"
X-System-Of-Record: true
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Issue: 'username' parameter proposal
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 17:32:40 -0000

The scenario described by Evan is showing a real issue and the
username parameter is solving it. Not sure if there are other
implications, but definitely worth discussing.

Marius



On Mon, Apr 19, 2010 at 10:06 AM, Evan Gilbert <uidude@google.com> wrote:
> User 1 is logged into Client site
> User 2 is logged into IDP site
> This can happen quite frequently, as client sites often have long-lived
> cookies and may only be visited by one user on a shared computer.
> Right now client site has no way to ask for a token for User 1, and end
> result will be that User 1 starts seeing User 2's data.
> On Mon, Apr 19, 2010 at 8:37 AM, Eran Hammer-Lahav <eran@hueniverse.com>
> wrote:
>>
>> How can they both be logged in? I have never seen a case where two users
>> can be both logged into to the same service at the same time...
>>
>> EHL
>>
>>
>> On 4/19/10 8:33 AM, "Evan Gilbert" <uidude@google.com> wrote:
>>
>> More details on this enhancement.
>>
>> Goal: Make sure you get an access token for the right user in immediate
>> mode.
>>
>> Use case where we have problems if we don't have username parameter:
>>
>> Bob is logged into a web site as bob@IDP.com.
>> Mary (his wife) is logged into IDP on the same computer as mary@IDP.com
>> A request is made to get an access token via the User-Agent flow in
>> immediate mode (or with any redirect without prompting the user)
>> -ob now has an access token for Mary and (posts activities, schedules
>> events, gets contacts) as Mary
>> Hilarity ensues
>>
>> Secondary goal: Provide a hint for non-immediate mode
>>
>> On Thu, Apr 15, 2010 at 11:55 AM, Eran Hammer-Lahav <eran@hueniverse.com>
>> wrote:
>>
>> Evan Gilbert proposed a 'username' request parameter to allow the client
>> to
>> limit the end user to authenticate using the provided authorization server
>> identifier. The proposal has not been discussed or supported by others,
>> and
>> has not received a security review.
>>
>> Proposal: Obtain further discussion and support from others, as well as a
>> security review of the proposal. Otherwise, do nothing.
>>
>> 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
>
>