Sync Gateway User Access

Hello,

I have created users through the Sync Gateway.

The user documents contain ID ( _sync : user : name ), name, password, roles and user's channels.

I am trying to send data and do a pull replication from an Android device with an app using Couchbase Lite Android.

I get to send data as Anonymous Access, but I can not be identified as user by Couchbase Server and Sync Gateway, with the username and password stored.

How I can do? Is there any example to take a look? (No persona and facebook login)

Thank you.

1 Answer

« Back to question.

I have learned how it works.

It was as simple as using a basic http authentication.

Sorry for the inconvenience.