I see, so i need an external Component to dyanmicly add new user
accounts in my remote server(my backend is SG couchbase). Actually there is
no real login in my app(username,password) app users do not enter login
credentials they are recognized by the unique identifiers of their
document, my first page is a form where users who downloaded te app fill
profile information and that appears only once, and through which a profil
document(which _id: profile:email) is created and then the user navigates
through other pages that pull non restricted data from "public" documents,
except for " survey" document which is "tagged" with the current profile id
property( profile object is an attribute to survey). So what would be an
optimal aproachto dynamicly create new users with respect to the
requirement of SG and the specifics of my scenario, while avoiding
authenticating through facebook?

On Friday, March 13, 2015, Jens Alfke <[email protected]> wrote:

>
> On Mar 13, 2015, at 12:30 PM, Souhail Marghabi <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
> 1- i need to do a curl put request to add an indefinite number of
> accounts( i dont know how many users will download. And launch the app).
>
>
> You create the user accounts in response to  from the client apps, the
> same way you would if you were writing a web-based service. (First time a
> user launches the app, they get prompted to login or register a new
> account. If they register, the app sends the info to your server-side code,
> which talks to SG to create a user account.)
>
> Alternatively you can use Facebook or Persona to log in, in which case
> accounts get created on SG for each user the first time they authenticate.
>
> —Jens
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Couchbase Mobile" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mobile-couchbase/UqelTaQDcnc/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected]
> <javascript:_e(%7B%7D,'cvml','mobile-couchbase%[email protected]');>
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/4CBC8D5B-E9B8-4921-9A3A-E1EFEF49CB07%40couchbase.com
> <https://groups.google.com/d/msgid/mobile-couchbase/4CBC8D5B-E9B8-4921-9A3A-E1EFEF49CB07%40couchbase.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAH-sp5A8nE1dwy%3Dt%3DqSPY9%3DWXZL9dXFCVFpp_V%2BV9REYs85_CQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to