The MoinMoin wiki software recently released version 1.7.0 which supports OpenID. I just upgraded to this version for OpenID support, and wanted to share my notes with anybody who might be trying the same thing.
The first job is to ugprade the MoinMoin software. The HelpOnUpdating page gives the information you need. The upgrade procedure is a bit detailed, so pay attention to the instructions. I also had to edit my Apache httpd.conf file to change some aliases that were pointing to 1.6.0 things. Make sure that the new 1.7.0 still works correctly before moving on.
Note that Johannes Berg's notes here don't tell the full story. I found that page first but it didn't give me enough context to enable OpenID.
The page you really want to read is HelpOnAuthentication. Scroll down to the OpenID section. Add the following lines to your wikiconfig.py:
from MoinMoin.auth.openidrp import OpenIDAuth auth = [OpenIDAuth()] anonymous_session_lifetime = 60
Now go to your wiki login page. You may also have to install the following Python modules if you get "module not found" errors:
I installed the above modules using FreeBSD Ports, from security/py-openid and devel/py-elementtree.
Finally, when attempting to log in you may get an error saying "complete() got an unexpected keyword argument". This bug was recently reported by somebody else on the MoinMoinBugs page here. I haven't investigated why this happened, but the fix is easy. Edit the openidrp.py file (in a path something like /usr/local/lib/python2.4/site-packages/M
info = oidconsumer.complete(query, current_url=return_to)
OpenID login now works on my wiki.