Re: [OAUTH-WG] Initial OAuth working group Discovery specification

John Bradley <ve7jtb@ve7jtb.com> Tue, 09 February 2016 23:16 UTC

Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52BAD1B2DE0 for <oauth@ietfa.amsl.com>; Tue, 9 Feb 2016 15:16:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level:
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, J_CHICKENPOX_27=0.6, J_CHICKENPOX_92=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R5moOsu06l8Y for <oauth@ietfa.amsl.com>; Tue, 9 Feb 2016 15:16:26 -0800 (PST)
Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E72B1B2DDD for <oauth@ietf.org>; Tue, 9 Feb 2016 15:16:25 -0800 (PST)
Received: by mail-qg0-x22d.google.com with SMTP id b35so2145926qge.0 for <oauth@ietf.org>; Tue, 09 Feb 2016 15:16:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ve7jtb-com.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=GMzP7aldJxWqgkg2BVkhFEnkYY5crYnC4l1CmXvvVbk=; b=hkAsR98LD5TcplfhCwRDyd2UJc3mYjABRpIE2A836Ma1PHhm+ARtchQwNX9V3b5e3x PyvEbXbxjaOW0w+edGtngz7/NuWbyi5hNI8nfNVpfQyVxIw3T4oRe9SC1njQ2m40yKmM a1lxgGtIBzRM3ysKLAf0UHJVTSEfRboTWr6X4GjHJywrE3BA+aIKZ4h4t2QR8XEazezS z+EFvQ7V2d6hbW+5plfHYKffD5R6vhUUpQAM4TOzgOvbuRzQj+xgy/UXHgVm3QTjcoe9 uji17XQposg58ot4gQ/WMYNCGlkNB+9373QeXDcyZOzwFXJc1ZF2pljaHBhPtnGLSfg4 C0Zg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=GMzP7aldJxWqgkg2BVkhFEnkYY5crYnC4l1CmXvvVbk=; b=D1p44SYIWKI0B7J72DTGchwvJ//PkLjZBCyF69TOyPrRbmpxifs5oT2zP4fGpKhuZa K5ecnIInSWve8SE/LUWK6pUsYCoCJUXVci7ZNq/omBxxjBiMwJTGjblfqTVReyFtJa2B 7nnX2wU8V5lSPWf03CGna8fL++Xh0E3YRZe0psO9mIIJRu/P+3TiXUDcTUQtgBu+hwV5 TcdH4Rmdhx8oJ3/1w8BB22l5iacZ6xIkJLxE9IIRNt/4oVfylwCt65HEywTEF8bLP9es P8WJeWOsaxrr12cXEkLIdZx1CxZ7DQJOTPB2AhKMe4AxlgumZ7HWlqXQy2d8H8T7YDeM UJSA==
X-Gm-Message-State: AG10YORdB9PUxnu9yODRwLZ1KwON6GuBZTJ7VsfBwbomp14Vt8OGQm/X4y3v4Eoej73FRg==
X-Received: by 10.140.35.115 with SMTP id m106mr44360309qgm.13.1455059784941; Tue, 09 Feb 2016 15:16:24 -0800 (PST)
Received: from [192.168.8.100] ([181.202.64.23]) by smtp.gmail.com with ESMTPSA id 197sm133531qhr.36.2016.02.09.15.16.23 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Feb 2016 15:16:24 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_7AC81935-0A3A-4463-B9AC-2E92A1576B07"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <A3961211-AB1E-46E5-A328-C037359A2E0E@oracle.com>
Date: Tue, 9 Feb 2016 20:16:20 -0300
Message-Id: <F27C1AB7-B869-4EF5-9E5F-11373C771EFF@ve7jtb.com>
References: <BY2PR03MB4427E9DAFDE674F71F6074AF5D60@BY2PR03MB442.namprd03.prod.outlook.com> <F6DD25EE-8B49-45E4-BACC-872CA98F2D7B@mit.edu> <2CB5C3E1-BF3B-4766-8761-CAF54F3C5170@ve7jtb.com> <F0681C96-1AFA-472C-899F-3E6952292DAA@oracle.com> <F0E2E297-DDB0-4EF3-B31C-E9207E75EE5F@ve7jtb.com> <A3961211-AB1E-46E5-A328-C037359A2E0E@oracle.com>
To: "Phil Hunt (IDM)" <phil.hunt@oracle.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/iWySDqp3tXMQin-Lbtb3jngcB04>
Cc: "<oauth@ietf.org>" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Initial OAuth working group Discovery specification
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
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: <https://mailarchive.ietf.org/arch/browse/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, 09 Feb 2016 23:16:29 -0000

Please don’t break the webfinger RFC.

If you search for SCIM you can have additional properties returned as part of the entry, but you only search for one thing.
 
Webfinger is designed to be very simple to implement.  In general you just get back the whole document with all the rel. 
The query filter is a optional optimization. 

The JSON in the doc is by rel.

> On Feb 9, 2016, at 8:03 PM, Phil Hunt (IDM) <phil.hunt@oracle.com> wrote:
> 
> The rel for scim returns the endpoint for scim. 
> 
> The rel for oauth returns endpoints for oauth. 
> 
> The query lets the client say i want the endpoint for oauth used for scim. 
> 
> I suppose you could reverse it but then we'll have oauth discovery happening in different ways across many different specs. One set of considerations is enough. :-)
> 
> Phil
> 
> On Feb 9, 2016, at 14:52, John Bradley <ve7jtb@ve7jtb.com <mailto:ve7jtb@ve7jtb.com>> wrote:
> 
>> You would define a rel uri for SCIM.   The SCIM entry can have sub properties if it supported more than one auth type,  or you could have a SCIM discovery document that the URI points to.
>> 
>> There are probably multiple ways to do it.
>> 
>> I don’t think trying to have a oauth rel and then sub types is going to make sense to developers.  It is also not a good fit for Webfinger.
>> 
>> I also suspect that SCIM is more naturally part of a authentication service It may be that the authentication service points at the SCIM service.
>> 
>> Remember that webfinger is a account alias and may not be the subject that the SP/RP knows the user as.
>> 
>> Each service will need to be thought through for webfinger as the account identity may mean different things depending on the protocol, and not every protocol needs per user discovery.
>> 
>> John B
>>> On Feb 9, 2016, at 7:39 PM, Phil Hunt (IDM) <phil.hunt@oracle.com <mailto:phil.hunt@oracle.com>> wrote:
>>> 
>>> Another example is to look at scim discovery(in contrast with connect).
>>> 
>>> When asked separately the answers may be different. 
>>> 
>>> Asking what is the oauth server for scim is yet another relation.  So may be we need a scheme for oauth where query is rs:someval and optionally an acnt value to. 
>>> 
>>> For example
>>> Get ./well-known/webfinger?rel=oauth&query=rs:scim&acnt:phunt@example.com <http://example.com/>
>>> 
>>> Note i probably have the compound query syntax wrong. 
>>> 
>>> Phil
>>> 
>>> On Feb 9, 2016, at 14:03, John Bradley <ve7jtb@ve7jtb.com <mailto:ve7jtb@ve7jtb.com>> wrote:
>>> 
>>>> If we keep webfinger I don’t think that having a generic OAuth rel makes sense.   It should be up to each API/Protocol to define it’s own rel value like Connect has done.
>>>> 
>>>> It is not reasonable to think that a persons ID provider is going to be the same as the one for calendaring or photo sharing.
>>>> 
>>>> So I could go two ways with webfinger,  leave it out completely, or leave it in but make it up to the application to define a rel value.
>>>> I expect that some things using UMA in web-finger would point directly to the resource and the resource would point the client at the correct UMA server.
>>>> 
>>>> The config file name in .well-known could stay as openid-configuration for historical reasons or we could change it.
>>>> 
>>>> I think we first need to decide if every protocol/API is going to have its own config file, we are going to get apps to retrieve multiple files,  or everything is going to go into one config-file and applicatins just add to that?
>>>> 
>>>> I prefer not to change the file name if we are going for one config file, but if we do one alias/link is probably not the end of the world, as I doubt people will ever remove openid-configuration one if they have it now.
>>>> 
>>>> John B.
>>>> 
>>>>  
>>>>> On Feb 9, 2016, at 2:19 PM, Justin Richer <jricher@mit.edu <mailto:jricher@mit.edu>> wrote:
>>>>> 
>>>>> Mike, thanks for putting this up.
>>>>> 
>>>>> 
>>>>> I would like to propose for two changes that have been brought up before:
>>>>> 
>>>>> 1) The wholesale removal of section 2, Webfinger lookup. 
>>>>> 
>>>>> 2) The changing of "/.well-known/openid-configuration” to "/.well-known/oauth-authorization-server” or something else not openid-related.
>>>>> 
>>>>> 
>>>>> 
>>>>>  — Justin
>>>>> 
>>>>> 
>>>>>> On Feb 9, 2016, at 9:09 AM, Mike Jones <Michael.Jones@microsoft.com <mailto:Michael.Jones@microsoft.com>> wrote:
>>>>>> 
>>>>>> We have created the initial working group version of OAuth Discovery based on draft-jones-oauth-discovery-01, with no normative changes.
>>>>>>  
>>>>>> The specification is available at:
>>>>>> ·       http://tools.ietf.org/html/draft-ietf-oauth-discovery-00 <http://tools.ietf.org/html/draft-ietf-oauth-discovery-00>
>>>>>>  
>>>>>> An HTML-formatted version is also available at:
>>>>>> ·       http://self-issued.info/docs/draft-ietf-oauth-discovery-00.html <http://self-issued.info/docs/draft-ietf-oauth-discovery-00.html>
>>>>>>  
>>>>>>                                                           -- Mike
>>>>>>  
>>>>>> P.S.  This notice was also posted at http://self-issued.info/?p=1534 <http://self-issued.info/?p=1534> and as @selfissued <https://twitter.com/selfissued>.
>>>>>>  
>>>>>> _______________________________________________
>>>>>> OAuth mailing list
>>>>>> OAuth@ietf.org <mailto:OAuth@ietf.org>
>>>>>> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
>>>>> 
>>>>> _______________________________________________
>>>>> OAuth mailing list
>>>>> OAuth@ietf.org <mailto:OAuth@ietf.org>
>>>>> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org <mailto:OAuth@ietf.org>
>>>> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
>>