Date post: | 14-Jan-2015 |
Category: |
Technology |
Upload: | klondike |
View: | 2,009 times |
Download: | 0 times |
Webfinger:Personal Web Discovery
Made for Ignite Railsconf 2010 by Eric Mill
$ finger [email protected]
Login: ericName: Eric MillOn since Mon May 31 20:22 (EDT) 23 minutes 8 seconds idleOn since Mon May 31 20:44 (EDT)No mail.Plan:READING RAINBOW
Problem: OpenID is hard.
Email > URL
If only we could query email addresses...
john @ doe.com
1. Ask http://doe.com about [email protected]
3. Find John's OpenID somewhere in it
4. Log John right in
2. Get back lots of public data about John
Webfinger enhances OpenID
Name
Homepage
Public Key
OpenID
Avatar
Salmon Endpoint
Flickr
The film, "Avatar"
Primary email
Achewood Profile
A bit like Twitter Annotations
Image taken from Marcel Molina's Warblecamp talk "Annotations"
Early Adopters
http://gmail.com/.well-known/host-meta
<?xml version='1.0' encoding='UTF-8'?><XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0' xmlns:hm='http://host-meta.net/xrd/1.0'> <Link rel='lrdd' template='http://www.google.com/s2/webfinger/?q={uri}'> <Title>Resource Descriptor</Title> </Link></XRD>
http://www.google.com/s2/webfinger/?q=acct:[email protected]
<?xml version='1.0'?><XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> <Subject>acct:[email protected]</Subject> <Alias>http://www.google.com/profiles/kprojection</Alias>
<Link rel='http://portablecontacts.net/spec/1.0#me' href='http://www-opensocial.googleusercontent.com/api/people/105820544165373224801/'/>a <Link rel='http://microformats.org/profile/hcard' href='http://www.google.com/profiles/kprojection' type='text/html'/> <Link rel='http://specs.openid.net/auth/2.0/provider' href='http://www.google.com/profiles/kprojection'/> <Link rel='describedby' href='http://www.google.com/profiles/kprojection' type='text/html'/>
</XRD>
require 'redfinger'
me = Redfinger.finger '[email protected]'
me.open_id.first.to_s# => "http://www.google.com/profiles/kprojection"
require 'mofo'
hcard = hCard.find(me.hcard.first.to_s)
hcard.fn# => "Eric Mill"
acct: ?
"Bridging The Islands"
Cross-Site Replies: Webfinger + Salmon
OpenID, OAuth, Portable Contacts, ActivityStrea.ms, Salmon...
Google I/O 2010
Post on Cliqset
See reply on Status.net
Will this confuse people?
OpenID Connect
Image by Chris Messina, from Flickr, licensed under CC by-nc-sa
Proposal for OpenID built on OAuth 2
Works with emails using Webfinger (sort of)
Will regular people go for this?
Thank you.And thanks to:
Brad FitzpatrickChris MessinaJohn Panzer
DeWitt Clinton(many more)