Re: [apps-discuss] [OAUTH-WG] Web Finger vs. Simple Web Discovery (SWD)

John Panzer <jpanzer@google.com> Wed, 18 April 2012 15:59 UTC

Return-Path: <jpanzer@google.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6919B21F85C3 for <apps-discuss@ietfa.amsl.com>; Wed, 18 Apr 2012 08:59:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.909
X-Spam-Level:
X-Spam-Status: No, score=-102.909 tagged_above=-999 required=5 tests=[AWL=0.067, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1YTb-GUrz3NN for <apps-discuss@ietfa.amsl.com>; Wed, 18 Apr 2012 08:59:08 -0700 (PDT)
Received: from mail-qa0-f51.google.com (mail-qa0-f51.google.com [209.85.216.51]) by ietfa.amsl.com (Postfix) with ESMTP id 2854521F85BD for <apps-discuss@ietf.org>; Wed, 18 Apr 2012 08:59:07 -0700 (PDT)
Received: by qaea16 with SMTP id a16so531504qae.10 for <apps-discuss@ietf.org>; Wed, 18 Apr 2012 08:59:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record; bh=xFKDGPCwK5N+xNJhS76eQv+/htoMe0enR5SDB19Lw90=; b=imuBQiAk0lUqZWhCNU4JKSdlkWJ3TZmDkdAN9qCuyHZFClEcWw1XEV2iHjYE+JIGhy tFresw26loHdymNUkMa42OnO74nPrQIOEkhO2I/9kibol3CyuTEktd7PfKSlH3jFKoqh toNkXlGFiPEowI554ws9YjKG7vZcNcnV6qdzdrDhyXkc73C/ZMx7MbylCvOiVW/2Thp4 NpZTIb5YloGBfbQOZeYENuXhVz0BY2qmXVPLQ75j4sJYcL42Nhr1cx5MYADTO5/DYbV2 rM08sV+u3GQqIgDht91ViR6jkJhuO9hYejqKTANtn/zyHtU85Fqy1wZb/3bFoV1BaS6k 4pJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=xFKDGPCwK5N+xNJhS76eQv+/htoMe0enR5SDB19Lw90=; b=nPmObD0kb7PZb60CYqL/pIIf0jEN7IX+dgjgv5JUrloG0C1VXgAnFvrZ8Uxach16Y9 fsdVbYmRIlaeno6FEH3TOR9Qx2BZk3rUdMEHsgZ/wyY9CYATqdaBbNz1trs5U+2XEzdD yZZcTAMLFYByT44NXdNl38BzY6sJPO8DjY3u+2SPBPBbZrHN2TR9wxSG4tHwdwk5mFk2 M3H52MZjanRH8K39N90PXjKapiH/lZwyHaVwaSg+MR3CGpRhZ1k6nuuHHoJXnFoCZ914 pISoafnmVab1+4njgwzZ2oWb1dlwDmp+EwHUXMzn43pOj+VOhEitpNkDMke/31Ha6kNd g0IQ==
Received: by 10.224.187.210 with SMTP id cx18mr4366707qab.45.1334764747464; Wed, 18 Apr 2012 08:59:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.187.210 with SMTP id cx18mr4366693qab.45.1334764747302; Wed, 18 Apr 2012 08:59:07 -0700 (PDT)
Received: by 10.229.22.133 with HTTP; Wed, 18 Apr 2012 08:59:07 -0700 (PDT)
Received: by 10.229.22.133 with HTTP; Wed, 18 Apr 2012 08:59:07 -0700 (PDT)
In-Reply-To: <CAKaEYhJ7=J2tq_mSYQUAKu9TLgEhEEE45i-rFt39BYFu0UcceA@mail.gmail.com>
References: <423611CD-8496-4F89-8994-3F837582EB21@gmx.net> <4F8852D0.4020404@cs.tcd.ie> <9452079D1A51524AA5749AD23E0039280EFE8D@exch-mbx901.corp.cloudmark.com> <4F8C5D22.7050309@stpeter.im> <4E1F6AAD24975D4BA5B1680429673943664876AD@TK5EX14MBXC284.redmond.corp.microsoft.com> <CAKaEYhLcxGLpemwrCOnwyNCSwQ9LCFWTFX_42kVZVabdYonPaQ@mail.gmail.com> <04fb01cd1cf6$23131c80$69395580$@packetizer.com> <CAKaEYhJ7=J2tq_mSYQUAKu9TLgEhEEE45i-rFt39BYFu0UcceA@mail.gmail.com>
Date: Wed, 18 Apr 2012 08:59:07 -0700
Message-ID: <CAJu8rwX7fu3ooJWx2SrnyW1UvFbghYOKusCfLBGMx5gr8AikNw@mail.gmail.com>
From: John Panzer <jpanzer@google.com>
To: Melvin Carvalho <melvincarvalho@gmail.com>
Content-Type: multipart/alternative; boundary="485b397dd4bb9f276c04bdf62201"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQk1Lo7cIvlEmusW8w0IdLa9DLW6bJ7iyDnxXR9jngrNUwTXhjE7kOUPFjKKmAX2CWbJoIKPYwNRVTwSLcjh94/9lfEH47XQZ/bY58hP7r9/8MZ4nZv6DS2Tizel+/r6z2C+NiYyxG+hjr1QPMLR3i/rougy+g==
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] [OAUTH-WG] Web Finger vs. Simple Web Discovery (SWD)
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Apr 2012 15:59:12 -0000

Last time I looked, WF takes a URI as input.  A mailto: URI is a URI.  If
someone wants to provide a look up by email address service, WF works
fine.  It just accepts more than email addresses.

What am I missing?
On Apr 18, 2012 3:05 AM, "Melvin Carvalho" <melvincarvalho@gmail.com> wrote:

>
>
> On 18 April 2012 01:59, Paul E. Jones <paulej@packetizer.com> wrote:
>
>> Melvin,****
>>
>> ** **
>>
>> On “acct:”…****
>>
>> ** **
>>
>> Humans will usually interchange an acct URI and mailto URI, probably
>> never using either scheme directly in practice.  That’s natural and
>> expected, if not desired.  The intent is that we define something that
>> looks like an email ID, but it’s not an email ID.  Some services, perhaps
>> Twitter being most notable, do no use email addresses.  Yet, you might have
>> an account there.  So, user@twitter.com might be used by humans and
>> automated systems would convert that to acct:user@twitter.com.  It would
>> not be appropriate to use mailto: since it’s not an email ID.****
>>
>> ** **
>>
>> We did have a lot of debate about the use of “acct”.  If you query my
>> WebFinger server, you’ll see that it will work without “acct:” prefixed, as
>> that was a suggestion made a year or so ago.  It will inspect the input and
>> if it looks like an acct URI, it will assume it is.  The “acct” URI will be
>> returned as an alias.  However, we should always use some kind of URI
>> scheme to remove the guesswork.  The client can often make a very good
>> guess as to whether it’s looking for a user account or something else.  So,
>> let it tell the server what it is looking for explicitly.****
>>
>> ** **
>>
>> We need a URI scheme, because WebFinger can be used to discover all kinds
>> of information related to a given domain, not only user information.  It
>> can be used to query information about any URI, be that a web page, a user
>> account, device on the network, etc.  If we got rid of “acct”, then we
>> would have a system where we sometimes use a URI scheme and sometimes we do
>> not.  Results might be inconsistent, as the server may not make the right
>> guess, unless we agreed that absence of a scheme defaults to “acct:”.
>> However, I see no reason for the client to be so lazy to not include
>> “acct:”.  The user might (and probably will) exclude it, but the client
>> code can add it.****
>>
>> ** **
>>
>> At this point, I’d argue the “train has left the station” on “acct”,
>> too.  The current WebFinger spec exists (in part) to formally document that
>> which has adopted; it’s not a new thing.
>>
>
>
> Paul, thank you for your explanation on lookup based on acct: (WebFinger)
> vs lookup based on mailto: (SWD).
>
> I think this is a major difference.
>
> The original WebFinger proposal was *supposed* to give extra information
> about an email address.
>
> From wikipedia:
>
> "WebFinger is an Internet protocol that aims to provide information about
> people by their* E-mail addresses*."
>
> From webfinger.org:
>
> "Put your *email address* into the box above, click the button"
>
> From google code (the top hit on google):
>
> "making *email addresses* readable again"
>
> And perhaps most importantly from the spec, the first example:
>
> "Assume you receive an *email *from Bob..."
>
> However only SWD here is doing email based discovery (mailto:).
> WebFinger *now* doing acct: based discovery, which is a departure from the
> original use case.
>
> Im glad that some people have voiced support for acct:, but I still
> believe that to be a minority.  I agree, that the new acct: scheme should
> for in another document, rather than shoe horned into an email based
> discovery system.
>
> IMHO, it's better to solve one problem (ie email based discovery) simply
> and well, than to half solve two problems (ie a new uri scheme for
> identity) in a single attempt.
>
>
>> ****
>>
>> ** **
>>
>> Paul****
>>
>> ** **
>>
>> A couple of points:
>>
>> 1. JSON
>> =======
>>
>> I think at the time webfinger was created in 2009, XML was the de facto
>> serialization, used in AJAX, SOAP and many other systems.  Today I'm
>> hearing more and more, that both developers and publishers, want to work
>> with JSON, rather than, having to support both xml and json.  Content
>> negotiation also confuses some publishers.  In my view, this is a great
>> simplification that webfinger can learn from SWD.
>>
>> 2. acct: scheme
>> =============
>>
>> The acct: URI scheme has not proved popular, imho, and has added a layer
>> of complexity and confusion.  How do we get from acct: to mailto:?  When
>> should you use acct: and when mailto: (the spec says acct:user@host may
>> be different from mailto:user@host).  What about the forms.  How about
>> linked data ecosystems that want to cross link identifiers, do they now
>> have to consider both cases?
>>
>> From the original post introducing acct:
>>
>> "I don’t expect everyone to like this idea. I wish I could say I love it,
>> but I am simply content with it."
>>
>> I dont know of anyone in the community (and correct me if this has
>> changed) that really loves acct:, or perhaps even likes the acct: idea.
>> SWD has shown you can do discovery without acct: and I think that's a big
>> plus.
>>
>>
>>
>>
>> One final side note is that this almost becomes trivial when you can do
>> SPARQL queries.  "void" is already registered by the W3C with IANA in
>> .well-known in order to discover SPARQL endpoints.  It may be overkill in
>> some people's eyes, but Linked Data (which predates webfinger),
>> particularly newer things like JSON LD, are a lot bigger than they were in
>> 2009.  In a few years it may become the definitive discovery mechanism
>> anyway.****
>>
>
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>
>