I have a custom auth server I'm using to authenticate the user. I also have 
a sync gateway server which is on a different host/port than the custom 
auth server.

I get the session id through the saw which I access from within the auth 
server. I then send the session id back to the client, and the client uses 
that to sync directly with the sgw. 

When doing so, I thought I could simply send the following payload to 
http://lite.couchbase./_replicate and despite the difference in host/port 
it would work.

"{"source":"status32","target":"https://sync-dev.forksandbridges.com:4984/maum2/","continuous":true,"headers":{"Cookie":"SyncGatewaySession=7b482f00b3afcdd1e7ba2fcff4a8b2adda14927a"}}";

But I'm getting a 401... Am I misunderstanding something?

slim

-- 
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/09425cce-808c-4d25-b3fd-17892747168c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to