OpenId Authentication in Moinmoin

1. Configuration

To enable Open Id, you need to install python-openid first. Then you need to add the following lines to wikiconfig.py to enable Open Id authentication in Moinmoin. This works on Moinmoin 1.9.2.

    from MoinMoin.auth.openidrp import OpenIDAuth
    auth = [OpenIDAuth()]
    cookie_lifetime = (2, 12)

You can use any non-zero number as the first item in the cookie_lifetime tuple. From the documention:

This configuration only allows users to login using Openid. If you want to fall back to regular username/password based registration, take a look at the documentation on combining authentication methods.

2. References

Moin/OpenIdLogin (last edited 2010-06-15 13:30:38 by SandipBhattacharya)