Please note that for cookie authentication to work, you need to enable thecookie_authentication_handler in your local.ini:
[httpd]
authentication_handlers = {couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_oauth, oauth_authentication_handler}, {couch_httpd_auth, default_authentication_handler}
In addition, you need to define a server secret:
[couch_httpd_auth] secret = yours3cr37pr4s3
On May 17, 2015, at 11:29 AM, atom992 <yangzi...@gmail.com> wrote:Hi,I want to know that why I need add username/password and headers with cookies info both in remote to sync doc ? I think headers with Cookies is enough(Cookies info indicated username and password), why I need to add username and password in remote object?