Re: [OAUTH-WG] Draft 16 comment

Igor Faynberg <igor.faynberg@alcatel-lucent.com> Tue, 28 June 2011 16:14 UTC

Return-Path: <igor.faynberg@alcatel-lucent.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6843B11E808C for <oauth@ietfa.amsl.com>; Tue, 28 Jun 2011 09:14:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3MZNPDg5rVYJ for <oauth@ietfa.amsl.com>; Tue, 28 Jun 2011 09:14:40 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id 017F421F86D2 for <oauth@ietf.org>; Tue, 28 Jun 2011 09:14:39 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id p5SGEbLQ002614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <oauth@ietf.org>; Tue, 28 Jun 2011 11:14:37 -0500 (CDT)
Received: from umail.lucent.com (umail-ce2.ndc.lucent.com [135.3.40.63]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id p5SGEaqv017978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <oauth@ietf.org>; Tue, 28 Jun 2011 11:14:37 -0500
Received: from [135.222.134.156] (USMUYN0L055118.mh.lucent.com [135.222.134.156]) by umail.lucent.com (8.13.8/TPES) with ESMTP id p5SGEaZj008330; Tue, 28 Jun 2011 11:14:36 -0500 (CDT)
Message-ID: <4E09FDEB.4040306@alcatel-lucent.com>
Date: Tue, 28 Jun 2011 12:14:35 -0400
From: Igor Faynberg <igor.faynberg@alcatel-lucent.com>
Organization: Alcatel-Lucent
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: oauth@ietf.org
References: <OF94594AF7.A124E08C-ON4A257899.0017EFDD-4A257899.0019AB49@au1.ibm.com> <OF1A52C5C0.67CA98B4-ON802578BD.0036A9C6-802578BD.003966AE@ie.ibm.com>
In-Reply-To: <OF1A52C5C0.67CA98B4-ON802578BD.0036A9C6-802578BD.003966AE@ie.ibm.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Subject: Re: [OAUTH-WG] Draft 16 comment
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: igor.faynberg@alcatel-lucent.com
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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, 28 Jun 2011 16:14:41 -0000

I know I have harped on that too many times previously, but just for the 
purpose of counting "votes,"  I think that option 2) is NOT an option. 
(Vote: -2 for 2)

That leaves option 1) as a must as far as I am concerned.

Igor

On 6/28/2011 6:26 AM, Mark Mcgloin wrote:
> The question below remains unanswered in relation to native apps being able
> to use grant type auth code to utilize refresh tokens. Which of these is
> the best option
>
> 1) Change oauth spec so client credentials are optional when requesting
> access token for grant type 'authorization_code' and for refresh token
> requests
> 2) Edit section 9 on security considerations to remove any references to
> native apps using auth code
>
> The difficulty with option 1 is how do you then prevent attackers using a
> legitimate client identifier. If we change the spec to say the client
> SHOULD pre-register it's redirect-uri, would that suffice?
>
>
> Regards
> Mark
>
> oauth-bounces@ietf.org wrote on 23/05/2011 05:40:22:
>
>> From:
>>
>> Shane B Weeden<sweeden@au1.ibm.com>
>>
>> To:
>>
>> oauth@ietf.org
>>
>> Date:
>>
>> 23/05/2011 06:26
>>
>> Subject:
>>
>> [OAUTH-WG] Draft 16 comment
>>
>> Sent by:
>>
>> oauth-bounces@ietf.org
>>
>>
>> First, I'd like to add my support for Brian Eaton's comments on Draft 16.
>> They actually helped clarify the comment I have below....
>>
>>
>> I found section 9 to be in contradiction to a part of section 6. In
>> particular in section 9:
>>
>>   Native applications SHOULD use the authorization code grant type flow
>>   without client password credentials (due to their inability to keep
>>   the credentials confidential) to obtain short-lived access tokens,
>>   and use refresh tokens to maintain access.
>>
>> In section 6 the specification is quite clear that client authentication
> is
>> REQUIRED for the use of refresh tokens:
>>
>>     The authorization server MUST validate the client credentials, ensure
>>     that the refresh token was issued to the authenticated client,
>>     validate the refresh token, and verify that the resource owner's
>>     authorization is still valid.
>>
>>
>> My  understanding is that refresh tokens are being used as a kind of
>> long-lived, rolling "instance secret" for the native application and
>> represent the grant authorized by the end user during initial
> establishment
>> of the authorization code which is used to get the first refresh token.
>>
>> It seems to me this use case needs to be allowed for in the wording of
>> section 6.
>>
>> Regards,
>> Shane.
>>
>> _______________________________________________
>> 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