Skip to content Skip to sidebar Skip to footer

Couchdb Sign-in With Angularjs: Auth Cookie Sent For /_session Only

Previous posts — 1 , 2 What I have now: AngularJS app with two controllers. First works with CouchDB documents and the second perform sign-in requests to example.com/demo/_sessio

Solution 1:

  1. Check CORS to be enabled (* in my cause)
  2. Check cors/credentials in config, it must be true
  3. Use {withCredentials:true} in Angular $http

Now it works.


Post a Comment for "Couchdb Sign-in With Angularjs: Auth Cookie Sent For /_session Only"