couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philipp Forsthuber <>
Subject Re: users management tools ?
Date Thu, 13 Jan 2011 15:06:06 GMT
Hi Martin,

perhaps all your problems can be solved by looking in the lower right 
hand corner of your Futon instance. Does it say Admin Party?

If yes:

- click on Fix this
- create an admin account
- remember the admin password!
- Continue below...

If not:

- click Logout
- Now you should see Signup or Login
- click Signup
- voila, you can create a user.

Alternatively, if you want to create the users via a remote application, 
you have to create the User directly in the _users table.

To do this, you have to send a http Request that contains the User 
datastructure in JSON Format, including the hashed passwort and the 
corresponding salt value. Just have a look at the _users table to see 
how the structure is built.

Hope to have helped,


On 01/13/2011 03:47 PM, Martin Kirchgessner wrote:
> Hi everyone,
> I'm trying to create users on my CouchDB instance in order to share a
> couchapp with some friends. The app itself doesn't care about users, I just
> want to set up readers and admins so the whole DB remains private.
> In other words, my app doesn't include (doesn't need) the signup form. But
> it seems that there's no other way to create users, since Futon only
> provides admin creation, right ?
> I've tried to add an admin in Futon, then remove the matching line in
> local.ini : the user can't log in anymore. Is this behavior normal ?
> Thanks for any hints,
> Martin

View raw message