[OpenID] Apache openid auth module (python)

Josh Hoyt josh at janrain.com
Fri Dec 1 22:21:46 UTC 2006


On 12/1/06, Rowan Kerr <rowan at standardinteractive.com> wrote:
> Some time last year, Brad Fitzpatrick forwarded a module by Trevor
> Clarke to the yadis list. It was a Python script for doing Basic HTTP
> authentication for users over OpenID (with mod_python).
> http://lists.danga.com/pipermail/yadis/2005-May/000255.html
[...]
> A problem I ran into was that each page requests runs the entire
> authentication over again. Maybe using a session of some kind within
> the module would be possible to avoid the numerous redirects to the
> IdP/OP and back.

I wrote something similar [1], although a little more fully featured.
It does keep track of the currently logged-in user. It's also a
mod_python app.

There is a new version [2] that needs testing in the wild before it
can be released that's easier to configure and better documented.
It's OpenID 1 right now, but will track the JanRain libraries, which
should be out soon after the spec is done. Try it out and let me know
what you think!

Josh

1. http://www.openidenabled.com/software/modpython-openid/
2. http://j3h.janrain.com/mpopenid/



More information about the general mailing list