Re: [OAUTH-WG] in-app logout?

Igor Faynberg <igor.faynberg@alcatel-lucent.com> Wed, 26 May 2010 18:53 UTC

Return-Path: <igor.faynberg@alcatel-lucent.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 6EDF73A69BE for <oauth@core3.amsl.com>; Wed, 26 May 2010 11:53:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.801
X-Spam-Level: *
X-Spam-Status: No, score=1.801 tagged_above=-999 required=5 tests=[BAYES_50=0.001, J_CHICKENPOX_54=0.6, J_CHICKENPOX_66=0.6, J_CHICKENPOX_83=0.6]
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 V4POxUXjteVp for <oauth@core3.amsl.com>; Wed, 26 May 2010 11:53:10 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by core3.amsl.com (Postfix) with ESMTP id 40F533A69DD for <oauth@ietf.org>; Wed, 26 May 2010 11:53:10 -0700 (PDT)
Received: from umail.lucent.com (h135-3-40-63.lucent.com [135.3.40.63]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id o4QIqwnw000951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 May 2010 13:52:58 -0500 (CDT)
Received: from [135.244.9.24] (faynberg.lra.lucent.com [135.244.9.24]) by umail.lucent.com (8.13.8/TPES) with ESMTP id o4QIqvW1022261; Wed, 26 May 2010 13:52:58 -0500 (CDT)
Message-ID: <4BFD6E08.3040802@alcatel-lucent.com>
Date: Wed, 26 May 2010 14:52:56 -0400
From: Igor Faynberg <igor.faynberg@alcatel-lucent.com>
Organization: Alcatel-Lucent
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Torsten Lodderstedt <torsten@lodderstedt.net>
References: <4BEBDCFB.7090503@lodderstedt.net> <255B9BB34FB7D647A506DC292726F6E11263465727@WSMSG3153V.srv.dir.telstra.com> <AANLkTikxD3jraqvG2IFmaSme0f1Q7NGPuQ3llqX3Ds5W@mail.gmail.com> <AANLkTil8c6oLx-YpyQ57seoFpuZQ013hLpVWfdb8JWlM@mail.gmail.com> <AANLkTilx7NPXa_XGSHmXw4vtLIlCQFf3DfcagP84TTtJ@mail.gmail.com> <AANLkTilOpF2iTB0LKGjQCGp8hMyL38SwtjrwgWsUi5zf@mail.gmail.com> <4BFD67CA.5040600@lodderstedt.net>
In-Reply-To: <4BFD67CA.5040600@lodderstedt.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] in-app logout?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: igor.faynberg@alcatel-lucent.com
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, 26 May 2010 18:53:11 -0000

+1 on the support.

Torsten, I just wonder if you see this as (possible a part of ) a 
single-sign off method?

Igor

Torsten Lodderstedt wrote:
> Hi Eran,
>
> in my perception, there is some support on the list for having a 
> request to revoke refresh tokens. Will you add such a request to the 
> specification? Do you need a text proposal?
>
> regards,
> Torsten.
>
>> IMHO this would look more like a hack than proper protocol design. We 
>> need
>> a delete/revoke operation that's the pendant to the other token 
>> operations (i.e.
>> crud ops).
>>
>> Hubert
>>
>>
>>
>> On Fri, May 21, 2010 at 7:05 PM, Beau 
>> Lebens<beau@dentedreality.com.au>  wrote:
>>   
>>> Could this just be implemented through support for a scope change
>>> where scope=none or revoke or something?
>>>
>>> On Friday, May 21, 2010, Lukas Rosenstock<lr@lukasrosenstock.net>  
>>> wrote:
>>>     
>>>> Why not simply add this functionality to the token endpoint?The 
>>>> same place that was used to fetch the access token first or refresh 
>>>> it could be used to revoke the same token with another request. The 
>>>> only requirement would be to define something like type=revoke.
>>>> I feel that is much easier than making the token a URL which 
>>>> supports DELETE.
>>>> However, any mechanism will break implementations that rely on 
>>>> minimal or no communication between authorization server and 
>>>> protected resource, because all protected resources have to be 
>>>> informed.
>>>>
>>>> Regards, Lukas
>>>>
>>>> 2010/5/16 Dick Hardt<dick.hardt@gmail.com>
>>>>
>>>> James: An important capability of the refresh token is that it 
>>>> *can* be a self contained token in that is not an id, but a signed 
>>>> token that can be examined and acted upon on presentation.
>>>> Torsten: enabling a client to revoke a refresh token looks like a 
>>>> useful mechanism. I anticipate it will be viewed as a vitamin 
>>>> feature rather than a painkiller and will fall by the wayside 
>>>> unless the security conscience rally to have it included.
>>>>
>>>>
>>>> -- Dick
>>>>
>>>>
>>>> On Thu, May 13, 2010 at 7:10 AM, Manger, James 
>>>> H<James.H.Manger@team.telstra.com>  wrote:
>>>> Torsten,
>>>>
>>>>       
>>>>> What about refresh token revocation/deletion?
>>>>>          
>>>> HTTP already has a method to do this: DELETE
>>>> It just needs each token to have a URI.
>>>>
>>>> Tokens (almost) already have URIs -- its just not immediately 
>>>> obvious because the URI has to be built from a common token 
>>>> endpoint and a refresh_token.
>>>>
>>>> I think it would improve the spec if refresh_token was renamed to, 
>>>> say, token_id; and its value defined as a URI (which can be a 
>>>> relative URI so the string may not need to change at all).
>>>>
>>>> To refresh a token you POST to the token's URI.
>>>> To delete a token you send a DELETE request to the token's URI.
>>>>
>>>> It doesn't cause major changes, but there are some benefits.
>>>> It is a more web-style design.
>>>> It leaves only 1 type of token in the spec -- an access token -- 
>>>> which simplifies the text and aids understanding.
>>>> There are no arguments about length, allowed chars etc because it 
>>>> is a URI -- a well-known type, often with native support.
>>>> Its obvious how to delete the token as there is a standard HTTP 
>>>> method DELETE to apply to the token URI.
>>>>
>>>> If a particular service supported an additional way to delete items 
>>>> in its API (eg POST with a method=delete query parameter) that 
>>>> could apply to the OAuth part as well.
>>>>
>>>> -- 
>>>> James Manger
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>>
>>>> -- 
>>>> http://lukasrosenstock.net/
>>>>
>>>>
>>>>        
>>> _______________________________________________
>>> 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
>>    
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth