On Thursday, December 18, 2014 2:09:12 PM UTC-3, Dominique Legault wrote:
>
> The way I do it is to use basic auth on the url like so:
> var url = REMOTE_SYNC_PROTOCOL + encodeURIComponent( window.config.user.name 
> ) + ":" + encodeURIComponent( window.config.user.password ) + "@" + 
> REMOTE_SYNC_SERVER + ":" + REMOTE_SYNC_PORT + "/";
> You still have to create the session in the sync gateway first though.
>
>
Thanks Dominique. I'll try it out.

-- 
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/5fc0efaf-dd90-4904-bef6-baf772870b87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to