Wordpress OpenID Plugin
I’ve been working on an OpenID plugin for Wordpress.
OpenID is an open, decentralized, free framework for user-centric digital identity. The wpopenid plugin lets visitors to a Wordpress blog quickly register, login, and leave comments using their OpenID. It streamlines the wordpress user registration loop, and aims to do it seamlessly in the context of the comment form.
After activation, the plugin hooks into wp-login.php, adding an extra field for OpenID login. Successfully logging in using this form auto-creates a real local Wordpress user, with Default Role capabilities, and takes them to their ‘profile’ page (or elsewhere, it honors redirect_to). They can promptly go commenting, or be promoted, or any of the other things normal wordpress users can.
The plugin also hooks to the comment form parser, watching for a POST field named ‘openid_url’ submitted along with the ‘comment’ text. In this case, the plugin sets a cookie with the comment text, and does an openid authentication redirect. If successful, the user is logged in, the comment is submitted, and the user sent back to the post.
Installation of the plugin is fairly painless, requiring no modifications to core files. Small template tweaks are recommended for maximizing the user experience.
I have a live demo of the plugin running inside a Wordpress-trunk blog at http://openid.verselogic.net/, as well as powering comments on this site.
About this entry
You’re currently reading “Wordpress OpenID Plugin”, an entry on VerseLogic
- Published:
- 10.10.06 / 12am
- Category:
- Words
11 Comments
Jump to comment form | comments rss [?] | trackback uri [?]