OpenID RP Support Broken in 1.9.1

At least, it sure seems like it. In 1.9 the internal variable anonymous_session_lifetime is no longer used. Since OpenID relies on anonymous sessions to work, OpenID will refuse to authenticate anyone. When attempting to use OpenID to log into my wki I get "Anonymous sessions need to be enabled for OpenID login" in the message bar at the top, even though I set the anonymous_session_lifetime variable to > 0.

If I am doing something wrong and there is a new way to configure OpenID login, then the documentation needs to be updated.

This is my first bug report. The last time I used MoinMoin was in about 2001. So don't bite my head off if I didn't do something right.

Steps to reproduce

  1. Enable openid support (install python-openid and python-elementtree;
  2. Import OpenIDAuth and add it to the list of auth providers in wikiconfig.py
  3. Attempt to log in using OpenID.
  4. Get message "Anonymous sessions need to be enabled for OpenID login"

Component selection

Details

MoinMoin Version

1.9.1

OS and Version

Ubuntu 8.04.3 LTS

Python Version

2.5.2

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

I can't think of one except to fix the underlying problem.

Discussion

Documentation is updated already: http://master19.moinmo.in/4ct10n/info/HelpOnAuthentication?action=diff&rev2=75&rev1=74. This change is done before 1.9.1 release and should be in documentation package in 1.9.1.

Plan


CategoryMoinMoinNoBug

MoinMoin: 1.9OpenIDBrokenAfterAnonymousSessionLifetimeVariableChange (last edited 2010-01-21 18:57:58 by EugeneSyromyatnikov)