Thanks for the help and all the pointers... They are really useful for me. The documentation regarding custom authentication says in order for CBL to use the cookie returned by auth server automatically to make calls to SG, the SG and Auth server should be running on the same port and not just the same host.
That isn't the case with my environment. They run on same host but on different ports. And i tried checking if CBL used the cookie that i return from nodejs server but it doesn't use it and i get login error on SG calls. So i had to set it manually. And it works atleast for the first time. -- 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/CAO2sL8v2J_GeVT%2B0jSt5CYKt%3DfTCom4JJk849kU%3D13CYFg1R_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
