Hi everybody,
I've used the phonegap plugin to create a mobile app.
Now, I'm trying to to perform a custom authentication to the Sync Manager. To do so, I've added a user into the Sync Manager and then created a session. I copied the session_id and cookie_name to create the cookie in the mobile app. However, when the app tries to connect to the Sync Manager, the app gets a 401 Login Required. If I do the same using the GUEST user, I can push and retrieve documents from the Sync Manager.
Does anybody have a good example of how to do a Custom Authentication? If not, can anybody point me in the right direction?
Thanks in advance,