Re: [OAUTH-WG] OAuth 2.0 server behavior

Eran Hammer-Lahav <eran@hueniverse.com> Tue, 30 November 2010 18:44 UTC

Return-Path: <eran@hueniverse.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 107963A6C20 for <oauth@core3.amsl.com>; Tue, 30 Nov 2010 10:44:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.483
X-Spam-Level:
X-Spam-Status: No, score=-2.483 tagged_above=-999 required=5 tests=[AWL=0.116, BAYES_00=-2.599]
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 gweylEUoXLlT for <oauth@core3.amsl.com>; Tue, 30 Nov 2010 10:44:33 -0800 (PST)
Received: from p3plex1out01.prod.phx3.secureserver.net (p3plex1out01.prod.phx3.secureserver.net [72.167.180.17]) by core3.amsl.com (Postfix) with SMTP id 37EDF3A6C04 for <oauth@ietf.org>; Tue, 30 Nov 2010 10:44:33 -0800 (PST)
Received: (qmail 6578 invoked from network); 30 Nov 2010 18:45:44 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.19) by p3plex1out01.prod.phx3.secureserver.net with SMTP; 30 Nov 2010 18:45:44 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.20]) by P3PW5EX1HT001.EX1.SECURESERVER.NET ([72.167.180.19]) with mapi; Tue, 30 Nov 2010 11:45:44 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Subbu Allamaraju <subbu@subbu.org>
Date: Tue, 30 Nov 2010 11:45:52 -0700
Thread-Topic: [OAUTH-WG] OAuth 2.0 server behavior
Thread-Index: AcuQBkKEcb5FT5NsRBShpfHGYyGWsAAuIdWQ
Message-ID: <90C41DD21FB7C64BB94121FBBC2E72343D4B065822@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <5F4958F3-F1C5-4E0E-9AE4-7042C5EA1AAC@gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343D4B06552C@P3PW5EX1MB01.EX1.SECURESERVER.NET> <5ED8359C-5C46-4121-BDC0-2A5B8F3A4790@subbu.org>
In-Reply-To: <5ED8359C-5C46-4121-BDC0-2A5B8F3A4790@subbu.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Anton Panasenko <anton.panasenko@gmail.com>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] OAuth 2.0 server behavior
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: Tue, 30 Nov 2010 18:44:34 -0000

It's not that explicit. I'll fix it.

EHL

> -----Original Message-----
> From: Subbu Allamaraju [mailto:subbu@subbu.org]
> Sent: Monday, November 29, 2010 12:44 PM
> To: Eran Hammer-Lahav
> Cc: Anton Panasenko; oauth@ietf.org
> Subject: Re: [OAUTH-WG] OAuth 2.0 server behavior
> 
> Could you point which part of the spec specifies this (am looking at draft 10)?
> In any case, I would expect the auth server to include the scopes granted in
> the access token response to avoid any ambiguity.
> 
> On Nov 29, 2010, at 8:40 AM, Eran Hammer-Lahav wrote:
> 
> > #2. Asking for scope on the access token call can only reduce the already
> approved scope.
> >
> > EHL
> >
> > From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
> Of Anton Panasenko
> > Sent: Friday, November 26, 2010 10:54 AM
> > To: oauth@ietf.org
> > Subject: [OAUTH-WG] OAuth 2.0 server behavior
> >
> > Hi,
> >
> > What behavior is expected from the server, if in the query on access_token
> without "scope"
> (grant_type=authorization_code&client_id=s6BhdRkqt3&client_secret=gX1f
> Bat3bV&code=i1WsRn1uB1&redirect_uri=https%3A%2F%2Fclient%2Eexampl
> e%2Ecom%2Fc)?
> >
> > 1. The server must generate access_token for an empty scope.
> > 2. The server must generate access_token for scope, which was approved
> for access_code.
> >
> > --
> > Sincerely yours
> > Anton Panasenko
> > Skype: anton.panasenko
> > Phone: +79179838291
> > Email: anton.panasenko@gmail.com, apanasenko@me.com
> >
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth