ghacks Technology News

Log in to websites with your site’s URL as your OpenID


OpenIDA few years ago, Martin covered OpenID, an open authentication system. Since then, it has become increasingly popular and a wide range of sites, from AOL to LiveJournal provide OpenIDs, and OpenID login is also quite common. OpenID is particularly popular for blog comments, with Blogger now integrating support for it.

An OpenID is an URL. However, using an URL like http://computerjoe.myopenid.com/ to log-in and post comments with just doesn’t look sophisticated. I much prefer to use my own blog’s URL to post comments and log-in; it pumps traffic to my blog and frankly just looks better.

Whilst you could run your own OpenID identity server to do this, this takes quite a bit of expertise to set-up and whilst it is probably more secure, it isn’t needed in my opinion.

It is possible to use a any identity server with your website’s URL. I personally use MyOpenID, but I log in to sites with joeanderson.co.uk/blog; not with computerjoe.myopenid.com.

This can be done by simply adding a few lines of HTML to your website’s <head>.

For example, I put

<link rel=”openid.server” href=”http://www.myopenid.com/server” />
<link rel=”openid.delegate” href=”http://computerjoe.myopenid.com” />

Naturally, these have to be modified depending on your username and server, but the provider should provider the information.

There are several benefits using this type of OpenID identificatin. The main one is that it just looks better but the most practical one is probably that it allows you to change provider whilst keeping the same log on. So, if I suddenly decide not to use MyOpenID, I can change to any other provider but my URL remains the same.




Tags: , , , , , , , , , ,
Categories: The Web


Read Related Posts


4 Responses to “Log in to websites with your site’s URL as your OpenID”

  1. Rarst says:

    Any idea if this works with OpenID from Google? I failed to figure it out. Some sites login with it just fine while others completely fail and complain about wrong URL,etc.

  2. Tobey says:

    A very good idea indeed! Thanks for sharing.

  3. Jeanne says:

    OpenID ftw! It’s ingenius.

  4. Joe says:

    Rarst, Google (as a provider) doesn’t support OpenID delegation but one can log-in to blogger etc with a delegated URL from another provider.

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

© 2005-2009 Ghacks.net. All Rights Reserved. Privacy Policy - About Us