couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Caprari <matteo.capr...@gmail.com>
Subject draft openid implementation
Date Mon, 11 Jan 2010 14:34:23 GMT
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

Mime
View raw message