Re: [OAUTH-WG] in-app logout?
Dick Hardt <dick.hardt@gmail.com> Sun, 16 May 2010 18:28 UTC
Return-Path: <dick.hardt@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 10C5F3A6877 for <oauth@core3.amsl.com>; Sun, 16 May 2010 11:28:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.348
X-Spam-Level:
X-Spam-Status: No, score=-0.348 tagged_above=-999 required=5 tests=[AWL=-0.950, BAYES_50=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_66=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 2I-IDXTzoSax for <oauth@core3.amsl.com>; Sun, 16 May 2010 11:28:06 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by core3.amsl.com (Postfix) with ESMTP id A8C383A68C6 for <oauth@ietf.org>; Sun, 16 May 2010 11:28:04 -0700 (PDT)
Received: by pvg11 with SMTP id 11so1405206pvg.31 for <oauth@ietf.org>; Sun, 16 May 2010 11:27:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dVByximo1A6nsvPhaF9D9UjVF4UHvzlkU8ihwrxpztU=; b=j4oramRxcdck/vjmmngQHPehE71tOqDpc/zR+CYGq3MNLASIcolGLVDcGxImpdH6IF PvgvWOxyJlm6+pC0RFBDl9K6bGNXdm3ovU8a7SDaVencH59R4MowpChB6KTcmaxYn0ce YwZM4+IfpjO4ud+0wMsPUSCPmeVjc3jb0iz08=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XHEYQVyKk/YLzTJZxNYyvXdmZwAQIuIZTknK/KX4Vjm2RPvjFl44XGSizt21TRzMcm yjiHxvBYoKxAA4YFPMebjmATlSieNRZjqCMP4Pb0KeXUcf7ji8obBlDGjKDaa60lRovi CgF3GI7zFn9f77E5AjKsfztt0FTEJtrPibfNc=
MIME-Version: 1.0
Received: by 10.142.67.35 with SMTP id p35mr2836861wfa.203.1274034470768; Sun, 16 May 2010 11:27:50 -0700 (PDT)
Received: by 10.142.87.17 with HTTP; Sun, 16 May 2010 11:27:50 -0700 (PDT)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E11263465727@WSMSG3153V.srv.dir.telstra.com>
References: <4BEBDCFB.7090503@lodderstedt.net> <255B9BB34FB7D647A506DC292726F6E11263465727@WSMSG3153V.srv.dir.telstra.com>
Date: Sun, 16 May 2010 11:27:50 -0700
Message-ID: <AANLkTikxD3jraqvG2IFmaSme0f1Q7NGPuQ3llqX3Ds5W@mail.gmail.com>
From: Dick Hardt <dick.hardt@gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Content-Type: multipart/alternative; boundary="001636e0a8f20fcf0b0486ba4462"
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
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: Sun, 16 May 2010 18:28:07 -0000
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-WG] in-app logout? Torsten Lodderstedt
- Re: [OAUTH-WG] in-app logout? Manger, James H
- Re: [OAUTH-WG] in-app logout? Dick Hardt
- Re: [OAUTH-WG] in-app logout? Manger, James H
- Re: [OAUTH-WG] in-app logout? Dick Hardt
- Re: [OAUTH-WG] in-app logout? Yaron Goland
- Re: [OAUTH-WG] in-app logout? Manger, James H
- Re: [OAUTH-WG] in-app logout? Manger, James H
- Re: [OAUTH-WG] in-app logout? Hubert Le Van Gong
- Re: [OAUTH-WG] in-app logout? Lukas Rosenstock
- Re: [OAUTH-WG] in-app logout? Chasen Le Hara
- Re: [OAUTH-WG] in-app logout? Allen Tom
- Re: [OAUTH-WG] in-app logout? Beau Lebens
- Re: [OAUTH-WG] in-app logout? Hubert Le Van Gong
- Re: [OAUTH-WG] in-app logout? Torsten Lodderstedt
- Re: [OAUTH-WG] in-app logout? Igor Faynberg
- [OAUTH-WG] Fwd: Re: in-app logout? Torsten Lodderstedt
- Re: [OAUTH-WG] in-app logout? Eran Hammer-Lahav
- Re: [OAUTH-WG] Fwd: Re: in-app logout? Justin Richer
- Re: [OAUTH-WG] Fwd: Re: in-app logout? George Fletcher
- Re: [OAUTH-WG] in-app logout? Eran Hammer-Lahav
- Re: [OAUTH-WG] in-app logout? Torsten Lodderstedt
- Re: [OAUTH-WG] in-app logout? Eran Hammer-Lahav
- Re: [OAUTH-WG] in-app logout? Manger, James H
- Re: [OAUTH-WG] in-app logout? Justin Richer