How to hit the sync url included with the AMI for Amazon

Persona will present a UI and then give you an “assertion” which you can register with Couchbase Lite. The next time you sync Couchbase Lite will handshake with the server and use the assertion to ask the server to set an HTTP cookie. This HTTP cookie is what authenticates subsequent sync requests.

There’s a complex state machine there. I used this code to deal with it on iOS. It shouldn’t be hard to build something similar on Titanium.