Re: [OAUTH-WG] Questions regarding -09 section 3.1
Diogo Almeida <diogo.borges.almeida@gmail.com> Tue, 06 July 2010 14:06 UTC
Return-Path: <diogo.borges.almeida@gmail.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 4058D3A691B for <oauth@core3.amsl.com>; Tue, 6 Jul 2010 07:06:28 -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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jJdvnF2JI883 for <oauth@core3.amsl.com>; Tue, 6 Jul 2010 07:06:26 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 827E43A686C for <oauth@ietf.org>; Tue, 6 Jul 2010 07:06:26 -0700 (PDT)
Received: by fxm1 with SMTP id 1so5135349fxm.31 for <oauth@ietf.org>; Tue, 06 Jul 2010 07:06:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=1Cvagpa/5Bjs6sa2tHyAIdsCisCzRmAdl6v70hK/KFQ=; b=sZceTU/czqFRpri3ClVASpviXqw7oNCvH3c8YW2u1/37FbdxjzAeGNtUXlimKwP/eb FXTzGNvp81pUNwYEtM605OnDFwBz17ByY+LjUCzITM3b7CbQeTHTApOZqnhKAh6S4pDM 5TGh9gFBLJVdsDD56FqgLLGt3GzsguO9UqcLw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=Tb2cgFPjRDXR2pSLalMn4Q28SphiSmB2DMqj6i8ZndOObUbEAB0l0+PkRqkb/h1Yg/ qmVsII6wromQxWAmWm+BytE/8twAqLjg0GyzEQmB4eW+gQSt5UcRWKngZN0X3d8wfBvd cB4fVkb4Z9oKJJLXUbwLi6MOpAub1X+gPpneE=
Received: by 10.223.104.77 with SMTP id n13mr4306353fao.24.1278425181822; Tue, 06 Jul 2010 07:06:21 -0700 (PDT)
Received: from [172.20.10.57] ([62.28.14.10]) by mx.google.com with ESMTPS id b14sm11947100fab.43.2010.07.06.07.06.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Jul 2010 07:06:19 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset="us-ascii"
From: Diogo Almeida <diogo.borges.almeida@gmail.com>
In-Reply-To: <533787F7-0DD1-47A7-AB3A-9D64FF44EDFF@hueniverse.com>
Date: Tue, 06 Jul 2010 15:06:15 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <764A1DD7-C7C2-4D9F-BF2F-5992F556C626@gmail.com>
References: <60CEA1CE-0FF3-46F7-BC3E-A3BF75BE036B@gmail.com> <533787F7-0DD1-47A7-AB3A-9D64FF44EDFF@hueniverse.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
X-Mailer: Apple Mail (2.1081)
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Questions regarding -09 section 3.1
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, 06 Jul 2010 14:06:28 -0000
Thanks Eran, Best regards, Diogo Almeida On Jul 6, 2010, at 3:03 PM, Eran Hammer-Lahav wrote: > > > > > On Jul 3, 2010, at 7:50, Diogo Almeida <diogo.borges.almeida@gmail.com> wrote: > >> Good afternoon, >> >> I would like to ask the WG two questions regarding -09 >> >> 1) >> On section 3.1, regarding the scope parameter, it reads: >> >> code >> REQUIRED if the response type is "token" or "code-and-token", otherwise MUST NOT be included. The authorization code generated by the authorization server. The authorization code SHOULD expire shortly after it is issued. The authorization server MUST invalidate the authorization code after a single usage. The authorization code is bound to the client identifier and redirection URI. >> >> Question: Is it a typo that the "code" parameter is REQUIRED if the response type is "token" or "code-and-token", rather than "code" or "code-and-token"? >> >> > > Yes. That's a typo. > >> 2) >> Also in section 3.1 or -09, it's stated that the Authorization Response contains the parameters: "code", "access_token", "expires_in", "scope" and "state". >> >> Question: Would it make sense to also include an OPTIONAL "refresh_token" to make this response more in line with section 4.2. Access Token Response. Or the intention behind the decision of not returning a "refresh_token" here was to make it so that the "access_token" cannot be refreshed this way? > > > Refresh token is only returned when a client secret is present (or other authentication scheme). > > EHL > >> Best regards, >> Diogo Almeida >> _______________________________________________ >> OAuth mailing list >> OAuth@ietf.org >> https://www.ietf.org/mailman/listinfo/oauth
- [OAUTH-WG] Questions regarding -09 section 3.1 Diogo Almeida
- Re: [OAUTH-WG] Questions regarding -09 section 3.1 Diogo Almeida
- Re: [OAUTH-WG] Questions regarding -09 section 3.1 Eran Hammer-Lahav
- Re: [OAUTH-WG] Questions regarding -09 section 3.1 Diogo Almeida