Re: [OAUTH-WG] Flowchart for legs of OAuth

Torsten Lodderstedt <torsten@lodderstedt.net> Wed, 23 March 2011 19:54 UTC

Return-Path: <torsten@lodderstedt.net>
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 7172528C0F1 for <oauth@core3.amsl.com>; Wed, 23 Mar 2011 12:54:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.211
X-Spam-Level:
X-Spam-Status: No, score=-2.211 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 1mZ4ZyhRc343 for <oauth@core3.amsl.com>; Wed, 23 Mar 2011 12:54:32 -0700 (PDT)
Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.98]) by core3.amsl.com (Postfix) with ESMTP id 176ED3A67D3 for <oauth@ietf.org>; Wed, 23 Mar 2011 12:54:31 -0700 (PDT)
Received: from [87.142.248.208] (helo=[192.168.71.49]) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1Q2UA0-00076v-Gh; Wed, 23 Mar 2011 20:56:04 +0100
Message-ID: <4D8A5054.4050006@lodderstedt.net>
Date: Wed, 23 Mar 2011 20:56:04 +0100
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: Phil Hunt <phil.hunt@oracle.com>
References: <22FB565B-A701-4502-818F-15164D9E201A@oracle.com> <AANLkTimGjiCGk5dpA=YVzq5vDkLR2+caSz=pZ5WiZO9H@mail.gmail.com> <3C84AD7A-F00F-43EC-AAD3-AD2DCFB46B0E@oracle.com> <90C41DD21FB7C64BB94121FBBC2E7234464F432BB0@P3PW5EX1MB01.EX1.SECURESERVER.NET> <4D84F7E2.6090305@redhat.com> <16B9A882-6204-4CBD-B7E3-1D806AF5056C@oracle.com>
In-Reply-To: <16B9A882-6204-4CBD-B7E3-1D806AF5056C@oracle.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Df-Sender: torsten@lodderstedt-online.de
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] Flowchart for legs of OAuth
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: Wed, 23 Mar 2011 19:54:33 -0000

Hi Phil,

looks even better now :-)

As already pointed out 
(http://www.ietf.org/mail-archive/web/oauth/current/msg05599.html), 
"Have client credentials? No" does not automatically imply usage of 
implicit grant. The client could also use the authorization code (for 
various reasons).

regards,
Torsten.


Am 23.03.2011 19:11, schrieb Phil Hunt:
> FYI. I have posted a new version of the flows on my blog showing the new terminology as discussed here.  Feedback appreciated.
> http://independentidentity.blogspot.com/2011/03/oauth-flows-extended.html
>
> Phil
> phil.hunt@oracle.com
>
> On 2011-03-19, at 11:37 AM, Anil Saldhana wrote:
>
>> I agree.  "2 party oauth", "3 party oauth"  tells  what it is, rather than
>> "3 legged oauth".
>>
>> On 03/18/2011 07:20 PM, Eran Hammer-Lahav wrote:
>>> The legs terminology is just plain awful. I prefer parties, roles, anything else.
>>>
>>> EHL
>>>
>>>> -----Original Message-----
>>>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>>>> Of Phillip Hunt
>>>> Sent: Friday, March 18, 2011 5:07 PM
>>>> To: David Primmer
>>>> Cc: OAuth WG
>>>> Subject: Re: [OAUTH-WG] Flowchart for legs of OAuth
>>>>
>>>> I agree with what you are saying. We were having trouble understanding legs
>>>> too, so I came up with the diagram. The diagram does show the parties
>>>> aspect. But I remain uncomfortable about the terminology.
>>>>
>>>> Phil
>>>>
>>>> Sent from my phone.
>>>>
>>>> On 2011-03-18, at 15:55, David Primmer<primmer@google.com>   wrote:
>>>>
>>>>> Hi Phil,
>>>>>
>>>>> I actually think this rephrasing of the rule of thumb is not really
>>>>> helpful based on how the word "legs" has been used in my experience of
>>>>> discussing and teaching OAuth. I actually tried to be pretty explicit
>>>>> about this topic in a talk I did at Google I/O last year because we
>>>>> have lots of questions about 2 versus 3 legged OAuth since the launch
>>>>> of the Google Apps Marketplace.
>>>>> http://www.youtube.com/watch?v=0L_dEOjhADQ. I speak about 17mins
>>>> in.
>>>>> We have traditionally used the terms two legged OAuth and three legged
>>>>> OAuth to describe the trust relationships involved in the grant. I
>>>>> think your interpretation is very different and not a common way to
>>>>> use the terms 'legs' in relation to OAuth and will simply confuse
>>>>> people. 2LO involves a client authenticating itself to a server. 3LO
>>>>> involves those two previous actors, plus a user/resource owner who
>>>>> delegates permissions to the client. In everyday use, 2LO is 'server
>>>>> to server' auth with out of band permissions and user identity and 3LO
>>>>> involves an individual grant where the user's grant is identified by a
>>>>> token given to the client and passed to the server on access. Another
>>>>> way to look at it is 2LO is just HTTP request signing.
>>>>>
>>>>> davep
>>>>>
>>>>> On Mon, Feb 21, 2011 at 4:45 PM, Phil Hunt<phil.hunt@oracle.com>   wrote:
>>>>>> FYI. I published a blog post with a flow-chart explaining the legs of OAuth.
>>>>>> http://independentidentity.blogspot.com/2011/02/does-oauth-have-
>>>> legs.
>>>>>> html
>>>>>>
>>>>>> Please let me know if any corrections should be made, or for that matter,
>>>> any improvements!
>>>>>> Phil
>>>>>> phil.hunt@oracle.com
>>>>>>
>> _______________________________________________
>> 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