Re: [OAUTH-WG] [Openid-specs-ab] Simple Web Discovery

Anthony Nadalin <> Fri, 29 October 2010 15:55 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 3815B3A6407 for <>; Fri, 29 Oct 2010 08:55:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -10.371
X-Spam-Status: No, score=-10.371 tagged_above=-999 required=5 tests=[AWL=0.227, BAYES_00=-2.599, FUZZY_CPILL=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id yTPwDM3bgL-b for <>; Fri, 29 Oct 2010 08:55:27 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 77CB23A63EC for <>; Fri, 29 Oct 2010 08:55:27 -0700 (PDT)
Received: from ( by ( with Microsoft SMTP Server (TLS) id; Fri, 29 Oct 2010 08:57:22 -0700
Received: from ([]) by ([]) with mapi id 14.01.0255.003; Fri, 29 Oct 2010 08:57:21 -0700
From: Anthony Nadalin <>
To: John Bradley <>
Thread-Topic: [Openid-specs-ab] [OAUTH-WG] Simple Web Discovery
Thread-Index: AQHLdmrtt4/el9ZvDEaQ4UyC5JkUSZNWdqdggAB+4wCAABB+4IAAgTIAgACO6eA=
Date: Fri, 29 Oct 2010 15:57:21 +0000
Message-ID: <>
References: <> <> <> <> <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-originating-ip: []
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "" <>, "" <>, the Connect work group <>, "" <>
Subject: Re: [OAUTH-WG] [Openid-specs-ab] Simple Web Discovery
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 29 Oct 2010 15:55:29 -0000

I would not say that this is just a JSON version of XRD, as XRD has quite a few more complex feature. What is being suggested here is being able to use OAuth for the authorization/delegation to discovery information in a very simple chunkable forward means.

-----Original Message-----
From: John Bradley [] 
Sent: Thursday, October 28, 2010 5:22 PM
To: Anthony Nadalin
Cc: the Connect work group;;;
Subject: Re: [Openid-specs-ab] [OAUTH-WG] Simple Web Discovery

If there is no authorization mechanism,  then this is just a JSON version of XRD.  

Not that you couldn't add authorization to XRD.

We were planning on doing that as an option for a proxy resolution flow that would look quite similar.

The way that the existing XRI resolver works is quite similar to what you describe filtering by service.
One of the use cases has been adding authentication, but there was never enough interest.

Too bad MS didn't participate in XRD.

John B.
On 2010-10-28, at 8:42 PM, Anthony Nadalin wrote:

> So not sure that this would be handled by the SWD itself but as pointed out in the SWD specification is that the SWD may be accompanied by an authorization header and this is where I would expect that to happen
> -----Original Message-----
> From: [] On Behalf Of John Bradley
> Sent: Thursday, October 28, 2010 8:41 AM
> To: the Connect work group
> Cc:;;
> Subject: Re: [Openid-specs-ab] [OAUTH-WG] Simple Web Discovery
> In the case where the user logs in to a RP with a PPID type identifier.  
> How could the person then allow the RP to discover their service endpoints.
> Also conversely would publishing the endpoint provide a way for the RP to correlate the user without permission.
> One common practice for openID PPID is that the IdP generates the PPID via AES128(actual ID + RP or sector identifier).
> In that case the RP could do an oauth flow to the IdP discovery endpoint to get permission to see the user endpoints.
> The IdP could decrypt the opaque identifier to determine the actual subject.
> That would protect the non correlation unless the user decides to permit discovery.
> The model if not the details seem similar to some work that is being submitted to the ITU-T as I understand it.
> John B.
> On 2010-10-28, at 12:07 PM, Anthony Nadalin wrote:
>> Sampo, can you give a usecase of how you would use the pairwise
>> -----Original Message-----
>> From: 
>> [] On Behalf Of 
>> Sent: Tuesday, October 26, 2010 6:40 PM
>> To: Mike Jones
>> Cc:;;; 
>> Subject: Re: [Openid-specs-ab] [OAUTH-WG] Simple Web Discovery
>> Simple enough spec. I like the notion of service type. However some questions to answer:
>> How would one convey saml2:Assertion as the "principal"? Or how would one convey a saml2:NameID as the "principal"?
>> Or in more generic sense, how would one convey a pairwise pseudonym as principal?
>> Cheers,
>> --Sampo
>> Mike Jones <> said:
>>> Having a simple discovery method for services and resources is key to enabling many Internet scenarios that require interactions among parties that do not have pre-established relationships.  For instance, if Joe, with e-mail address, wants to share his calendar with Mary, then Mary's calendar service, in the general case, will need to discover the location of Joe's calendar service.  For example, Mary's calendar service might discover that Joe's calendar service is located at by doing discovery for a service named  at for the account joe.
>>> Yaron Goland<> and I are submitting this Simple Web Discovery (SWD)<> draft (attached and at for consideration by the community to address this need.  SWD is simple to understand and implement, enables different permissions to be applied to discovery of different services, and is JSON-based.  I look forward to discussing this with many of you next week at IIW<>w/>.
>>>                                                               -- 
>>> Mike
>>> _______________________________________________
>>> OAuth mailing list
>> _______________________________________________
>> Openid-specs-ab mailing list
>> _______________________________________________
>> openid-specs-connect mailing list
> _______________________________________________
> Openid-specs-ab mailing list