On Jun 14, 2014, at 6:51 AM, Joel Saltzman <[email protected]> wrote:

> Yes, but the admin port should not be exposed. I am looking to give users a 
> way to create their own accounts without Persona or Facebook, exposing the 
> admin port or making a separate script. I'm guessing It can't be done...

The Gateway doesn't support self-registration of user accounts. That would be a 
good feature to add in a future release. I don't think anyone's requested it 
before, so you can file an issue on Github.

It would be easy to write a server-side script that does this -- probably a few 
dozen lines of your favorite scripting language. You just need to accept a POST 
from the client, then turn around and PUT /db/username on the Gateway's admin 
port. You'd probably then want to add features like letting the user change 
their password or delete their account. It shouldn't take more than a day or 
two to put something like this together. If anyone does so and would like to 
contribute the script, I'd gratefully add it to the Gateway repository or wiki.

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/DE6C4C0C-C777-48EA-B15B-391A33BABE01%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to