OpenID Enabled in RiWiA

The OpenID logo

Image via Wikipedia

Just finished integrating OpenID support into this blog. It’s even more convenient to make comments here now. Without registration or leaving username and email information, a simple line of URL is sufficient for you to say anything you want.

What is OpenID anyway?

OpenID is a simple registration solution across Internet. Register once with a trusted Provider and you’ll get a unique URL that identifies you. Then you’ll be able to login to a bunch of sites (including RiWiA) using that URL. No more registration, no more username and password. For a complete list of organizations which support OpenID, check this page out (Wow, look what we’ve got, Digg, Microsoft, AOL, Yahoo, LiveJournal, MediaWiki, WordPress, 37Signals, etc). In a word,

OpenID eliminates the need for multiple usernames across different websites, simplifying your online experience.

How to add OpenID support for self-hosted WordPress weblog?

It’s easy. The OpenID plugin will help you out with this. It’s as easy-to-use as other WordPress plugins. Upload the necessary files and activate it. Then go to “Users” –> “Your Profile OpenIDs” in the admin panel and add your OpenID URL to your account. Now you’ll be able to login to your blog with that URL, and your OpenID Provider will take care of the authentication.

If you’d like to use your own blog URL as your OpenID instead of the one with Provider info in it, just add following lines of code to the <header> of your theme (take myopenid.com as the Provider for example):

<link rel="openid.server" href="http://www.myopenid.com/server" />
<link rel="openid.delegate" href="http://yourname.myopenid.com" />
<meta content=‘http://www.myopenid.com/xrds?username=yourname.myopenid.com’ http-equiv=‘X-XRDS-Location’ />

That’s it.

Why would I use OpenID?

Er… It’s a good question. I think

  1. It’s fun.
  2. It simplify the process of leaving a comment for those who have an OpenID, so it’s an enjoyable experience for them to comment in your blog.
  3. Everybody else are using it, so why shouldn’t we?
Enhanced by Zemanta

作者:Keefe Dunn

a dreamer, a learner, a lawful beginner.

发表评论

您的电子邮箱地址不会被公开。