Re: [OAUTH-WG] Call for Adoption: OAuth 2.0 Discovery

Phil Hunt <phil.hunt@oracle.com> Tue, 02 February 2016 23:49 UTC

Return-Path: <phil.hunt@oracle.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 325AF1A90D5 for <oauth@ietfa.amsl.com>; Tue, 2 Feb 2016 15:49:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.601
X-Spam-Level:
X-Spam-Status: No, score=-3.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_35=0.6, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham
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 S-ir4H57bZVp for <oauth@ietfa.amsl.com>; Tue, 2 Feb 2016 15:49:00 -0800 (PST)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 83A3F1A90D0 for <oauth@ietf.org>; Tue, 2 Feb 2016 15:49:00 -0800 (PST)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u12NmwSK010686 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 2 Feb 2016 23:48:59 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u12Nmw7v010543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 2 Feb 2016 23:48:58 GMT
Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u12Nmw5Q024063; Tue, 2 Feb 2016 23:48:58 GMT
Received: from [10.0.1.22] (/24.86.216.17) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 02 Feb 2016 15:48:58 -0800
Content-Type: multipart/alternative; boundary="Apple-Mail=_3FBE4939-A9E4-4207-B605-A96EDB614028"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Phil Hunt <phil.hunt@oracle.com>
In-Reply-To: <CA+k3eCS6_wZ0YkG8HjiwmQGemndHRBCG12McNTsgTvuEch5LwQ@mail.gmail.com>
Date: Tue, 02 Feb 2016 15:48:56 -0800
Message-Id: <DA812138-751B-4FEB-9EFA-40DC38BEDFDB@oracle.com>
References: <569E2298.3010508@gmx.net> <56A7CA7D.3050602@lodderstedt.net> <CA+k3eCS6_wZ0YkG8HjiwmQGemndHRBCG12McNTsgTvuEch5LwQ@mail.gmail.com>
To: "oauth@ietf.org" <oauth@ietf.org>
X-Mailer: Apple Mail (2.3112)
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/L2IW14T89ka0LtaUFyx7XgQkSM4>
Subject: Re: [OAUTH-WG] Call for Adoption: OAuth 2.0 Discovery
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, 02 Feb 2016 23:49:03 -0000

I have two separate comments here:

Item 1: Regarding Torsten’s comment

I think there are two scenarios….
A. The client, not knowing who the user is wants to discover the appropriate OAuth endpoint - a generic discovery via ./well-known/oauth

Or wants to discover the OAuth server for a particular web resource.  Maybe a webfinger query that is resource=service:someurl  is more appropriate.

B.  A server wants to discover the OAuth endpoint based on an account identifier for the user. This is appropriate particularly when cloud service providers run multiple oauth tenancies.   (I don’t believe we have this case).

Item 2:  rel value for webfinger
It seems to me while the discovery requirements for plain OAuth and OIDC are the same for today that might not always be true.  What will happen if OIDC wants to add more stuff?  Will plain oAuth sites have to comply?

A client may want to know both the OAuth discovery endpoint information for a resource AND it might want to know the OIDC discovery information.  They endpoints might not always be the same - how do we tell them apart?

I don’t see a big inter-op issue.  Implementation is easy - support for rel=oauth might be as simple as making rel=oauth an alias for rel=http://openid.net/specs/connect/1.0/issuer.  OIDC clients can continue to use rel=http://openid.net/specs/connect/1.0/issuer

Phil

@independentid
www.independentid.com <http://www.independentid.com/>phil.hunt@oracle.com <mailto:phil.hunt@oracle.com>





> On Feb 2, 2016, at 3:02 PM, Brian Campbell <bcampbell@pingidentity.com> wrote:
> 
> I agree (kind of anyway) with Torsten. Discovery based on the user id of the resource owner doesn't necessarily make sense for general OAuth cases. 
> 
> Also restating what I already posted about the draft: Would it be worth considering constraining the scope of this document to just the publication and content of AS metadata? And keep the actual discovery of that metadata, be it from the RS or the user id or what have you, out of scope or in a different document(s)? The former is relatively well understood and provides some value. While the ideas about how the the latter should work seem to have a pretty broad range. 
> 
> On Tue, Jan 26, 2016 at 12:35 PM, Torsten Lodderstedt <torsten@lodderstedt.net <mailto:torsten@lodderstedt.net>> wrote:
> Hi,
> 
> I support the adoption of this document as starting point for our work towards OAuth discovery.
> 
> Restating what I already posted after the last IETF meeting: It seems the document assumes the AS can always be discoverd using the user id of the resource owner. I think the underlying assumption is resource servers accept access token of different (any?) user specific AS (and OP)? From my perspective, RSs nowadays typically trust _the_ AS of their security domain/ecosystem and all resource owners need to have an user account with this particular AS. So I would assume the process to start at the RS. I think the spec needs to cover the latter case as well. 
> 
> kinds regards,
> Torsten.
> 
> 
> Am 19.01.2016 um 12:48 schrieb Hannes Tschofenig:
>> Hi all,
>> 
>> this is the call for adoption of OAuth 2.0 Discovery, see
>> https://tools.ietf.org/html/draft-jones-oauth-discovery-00 <https://tools.ietf.org/html/draft-jones-oauth-discovery-00>
>> 
>> Please let us know by Feb 2nd whether you accept / object to the
>> adoption of this document as a starting point for work in the OAuth
>> working group.
>> 
>> Note: If you already stated your opinion at the IETF meeting in Yokohama
>> then you don't need to re-state your opinion, if you want.
>> 
>> The feedback at the Yokohama IETF meeting was the following: 19 for /
>> zero against / 4 persons need more information.
>> 
>> Ciao
>> Hannes & Derek
>> 
>> 
>> 
>> _______________________________________________
>> 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
> https://www.ietf.org/mailman/listinfo/oauth