I want to use a custom auth provider and create a session in SG by calling 
POST /$DB/_session. But documentation says that I this request may return 
404 if a user doesn't exist in DB so I need to create it. When I try to 
create a user calling PUT /$DB/_user/$id it requires a password but I don't 
want to store a password in SG/CDB because I'll need to keep it with sync 
with a password in an external auth system. 

I could provide a dummy password but how to ensure that nobody will be able 
to login using this dummy password? Or is there a better way to deal with a 
user creation without a password?

-- 
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/a3be0504-8156-46f6-ba57-cac2dab1b902%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to