Greetings, I'm trying to setup the synchronization between a device's local DB and the my server's DB using phonegap and custom authentication, but im having difficulties figuring out the authentication.
I've setup an API on my server that uses the gateway's admin api to get a session token as described in the custom(indirect) section of this page http://developer.couchbase.com/mobile/develop/guides/sync-gateway/administering-sync-gateway/authenticating-users/index.html and im returning the session token to my phonegap app but i cant figure out how to pass it to cblite either before or when calling "_replicate" on cblite so that the replication doesn't fail with an 401. The phonegap example app uses facebook not custom and i haven't been able to find any documentation on how to do it for custom in the cblite REST api. Can you point me to an example or documentation on this? -- 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/c788b409-19dc-468e-bfe2-38984317ef8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
