--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/56yf9MsWby4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
I have my web server running the AngularJS app on port 81. My database is CouchDB running on port 5984. They're both localhost but apparently since the ports are different, that means they're different domains. I read a thread in this group that says you can't access response cookies across domains. Which seems to be what I'm seeing in my code. So how can I read the CouchDB AuthSession cookie in AngularJS? Is this impossible?Thanks a lot for your help. I'm spinning my wheels :-/
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/56yf9MsWby4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
--- This is what you see in the Chrome Console tab after usr/pass POST to _session...
http://i.imgur.com/pQGKzqf.png
2. This is what you see in the Chrome Network tab after usr/pass POST to _session. You can see the AuthSession cookie Couch gave in the response...
http://i.imgur.com/Z5wqDCH.png
3. This is what you see in the Chrome Network tab after the "getMembers" call to Couch. You can see in the request to Couch, the AuthSession cookie is not getting sent...
http://i.imgur.com/JDBzzS1.png?1
4. This is my authentication method in my base dataFactory service...
http://i.imgur.com/iNd68vB.png
5. This my generic GET method in my base dataFactory servcie...
http://i.imgur.com/z05D9w4.png
Why not simply use nginx or nodejs as a reverse proxy. Solves this issue in minutes.
Exactly right yes, you just need to ensure you have defined paths so you know which calls to proxy on
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.