I’m trying add Custom Authentication. I use 2 instances of Sync-Gateway behind an Nginx. So how can we manage Session with 2 instances of Sync-Gateway?
I’m using custom authentication which is achieved by calling the “/_session” endpoint. This then returns a cookie that logs me in for the first Sync-Gateway. If I now want to synchronize the second Sync-Gateway too, I make a call to “/_session” which overrides the first cookie.
Is there any way to create a global Session?