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

Joe
Jul 17, 2009
Updated • Mar 25, 2012
Internet
|
5

A 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 provide the information.

There are several benefits using this type of OpenID identification. 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.

Update: The process itself has not changed. You first need an OpenID account before you can start using the service on websites supporting OpenID, or implement the authentication method on your own.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. op out said on June 2, 2010 at 7:17 am
    Reply

    op out all links plug in to any open id

  2. Joe said on July 17, 2009 at 6:12 pm
    Reply

    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.

  3. Jeanne said on July 17, 2009 at 5:45 pm
    Reply

    OpenID ftw! It’s ingenius.

  4. Tobey said on July 17, 2009 at 4:36 pm
    Reply

    A very good idea indeed! Thanks for sharing.

  5. Rarst said on July 17, 2009 at 4:08 pm
    Reply

    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.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.