Hi there,

I have a question in the SyncGateway configserver.json file, are we 
supposed to have all users who use the mobile device login entered? Is it 
safe to enter plain text password in a json file on a server that is facing 
the public internet?

"users": {
"ravi": {
"disabled" : false,
"password": "ravi@123",
"admin_channels":["*"] 




On Tuesday, December 16, 2014 at 4:14:27 PM UTC-7, Federico Hernandez wrote:
>
> Hi everybody,
>
> I've used the phonegap plugin to create a mobile app. 
>
> Now, I'm trying to to perform a custom authentication to the Sync Manager. 
> To do so, I've added a user into the Sync Manager and then created a 
> session. I copied the session_id and cookie_name to create the cookie in 
> the mobile app. However, when the app tries to connect to the Sync Manager, 
> the app gets a 401 Login Required. If I do the same using the GUEST user, I 
> can push and retrieve documents from the Sync Manager.
>
> Does anybody have a good example of how to do a Custom Authentication? If 
> not, can anybody point me in the right direction?
>
> Thanks in advance,
>

-- 
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/46f194b4-82ea-4ea2-8b60-dab09ebd2b80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to