Hi.
I have a draft implementation of openid for couchdb over at
http://github.com/mcaprari/eopenid
It's very incomplete but should be enough to start a discussion.
Notes:
- It "works" with myopenid.com and my wordpress blog but fails on
google and flickr
- It's based on eopenid, which only covers openid 1.1.
- It uses an ets table to maintain state between calls. Not a good
idea, methink.
- It uses its own cookie scheme to maintain authentication. Ideally it
should install
a cookie compatible with couch_httpd_auth, but that requires mapping
an openid to a real user or
creating a real user.
You can quickly test it by browsing to
http://www.dikappa.net:5984/_session?openid=auth-request&openid-identifier=<your
openid>
or refer to the readme to install it on your couch
please complain loudly :)
--
:Matteo Caprari
matteo.caprari@gmail.com
|