On Thu, Aug 5, 2010 at 10:41 PM, J Chris Anderson wrote: > This is pretty much how the built-in auth works. Jan is working on a document here: > > http://wiki.couchapp.org/page/authn-preview Thanks for this link. It really helped. > The other thing to do is just use the signup and login buttons on Futon to do the same thing. Look in the lower right corner of http://localhost:5984/_utils/ Yes, I thought about using that code. I actually wanted an API with which my other modules could login to couchdb. I was sort of trying to get ejabberd, drupal etc. to use couchdb's user database. Sort of a single sign-on thingy. Regards, Mahendra http://twitter.com/mahendra