I've been wondering about whether to use Parse for the user management aspects, and have it fire cloud code to one's Couchbase server to open up a channel for the user. Has anyone tried this?
Ragu On Saturday, June 14, 2014 11:05:34 AM UTC-7, Jens Alfke wrote: > > > On Jun 14, 2014, at 6:51 AM, Joel Saltzman <[email protected] > <javascript:>> 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/11affc87-6862-4b1a-873c-4bc85e40b528%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
