A new feature in MT4 enables users to login via OpenID. This makes it easy to login to comment on MT4 blogs: simply enter your OpenID URL and you are good to go. But what if you don't have an OpenID. They are easy to get, but I thought it would be cool if you could use your own MT blog URL, and use your MT installation account to login to other MT sites to comment. That is exactly what the OpenID Server plugin enables you to do.
When I first set out to built an OpenID Server plugin for MT, I thought is was going to be a lot of work and steep learning curve. But then I discovered that such a plugin was previously created over 2 years ago for MT 3.2, created by Mark Paschal and Brad Choate of Six Apart. I merely moved things around a bit to suit MT4, made a few minor tweaks, and added a template tag to make it easy to setup. As such, 99% percent of the credit goes to Mark and Brad. I just thought it would be cool to login to other MT4 blogs using my MT install login account -- it kinda brings the whole OpenID thing full circle.
Notice the URL in the address bar after I click the OpenID "Sign In" button:
- Net::OpenID::Server Perl Module (included)
- Extact the files from the zip file and upload the contents of the 'plugins' folder to the 'plugins' directory of your MT installation
- Upload the contents of the 'extlib' directory to the 'extlib' directory.
- Change the permissions on the /plugins/openid-server/server.cgi file to 755 (CHMOD 755)
- In your author profile, set your Website URL to the URL you wish to use as your OpenID profile URL.
- In the <head> section of that page, add the HTML tag:
- If your profile page is a static HTML page, replace "
" with the full CGIPath to the copy of Movable Type where the plugin is installed.
- To sign in with OpenID, when presented with an OpenID signon form, enter the URL to your
- profile URL. If you are not logged in to Movable Type, you will be prompted to log in.
<link rel="openid.server" href="<MTCGIPath>plugins/openid-server/server.cgi" />
The OpenID Server plugin is free software.
,<$MTAjaxRatingVoteCount type="openidserverdownloads" id="1"$>,0);">
Downloads: <$MTAjaxRatingVoteCount id="1" type="openidserverdownloads"$>
Note: I probably should submit this version to code.sixapart.com, but I am not sure hwo to do that. I have never used Trac, nor contributed to any open source software before. I am not sure what the best practices are here, etc. I am sure somebody will point me in the right direction here...