[jdev] JID -> OpenID mapping?

Peter Saint-Andre stpeter at stpeter.im
Wed Oct 15 09:52:03 CDT 2008


Tomasz Sterna wrote:
> Dnia 2008-10-15, śro o godzinie 14:35 +0100, Dave Cridland pisze:
>>> Thus I am looking for a way to map jid at example.com to
>>> http://open.id/someone without the XMPP protocol involvement.
>> What if the XSF ran a HTTP-based service, which'd let Open ID web  
>> services take "xmpp:jid at example.com", map it to  
>> "http://openid.jabber.org/jid@example.com", which'd reolve into a  
>> redirect to the user's actual OpenID service, as discovered by PEP or  
>> some such?
> 
> Good idea. The only weak point I see is centralisation.

Yeah, I don't like centralized solutions, especially if they depend on
xmpp.org/jabber.org infrastructure. ;-)

> Maybe we could create a TXT DNS record in the XMPP server domain
> pointing to a service doing the translation?
> (DNS resolution is not really an overhead for HTTP server.)
> 
> Ex.:
> 
> server.org  IN  TXT  "openid http://openid.server.org/?jid="
> 
> which concatenated with JID gives
> http://openid.server.org/?jid=user@server.org that serves/redirects to
> OpenID server.
> 
> Or maybe we could use SRV record type somehow?

Let's see what the OpenID folks are thinking for email addresses -- I'm
sure the same basic ideas would apply to JabberIDs.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/





More information about the JDev mailing list