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:
- Check CORS to be enabled (
*in my cause) - Check
cors/credentialsin config, it must be true - Use
{withCredentials:true}in Angular$http
Now it works.
Post a Comment for "Couchdb Sign-in With Angularjs: Auth Cookie Sent For /_session Only"