CleverStack / angular-seed

The AngularJS based Modular Frontend for CleverStack, MEAN and so much more

Home Page:http://youtube.com/watch?v=-4ArURHExhQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Out of box, cleverstack encounters CORS errors in Chrome and Safari

aaronryden opened this issue · comments

After init'ing a fresh project and running clever serve, trying to register or login a user causes chrome to spit out the following CORS error. Thanks for taking a look.

OPTIONS http://localhost:8080/user Request header field X-XSRF-TOKEN is not allowed by Access-Control-Allow-Headers. angular.js:7962
XMLHttpRequest cannot load http://localhost:8080/user. Request header field X-XSRF-TOKEN is not allowed by Access-Control-Allow-Headers. register:1

Could you re-download the backend and see if that fixes the issue? Chrome has a lot of issues with localhost CORs

Hey @aaronryden just wanted to check to see if you are still having this issue or if the fix @durango suggested has worked?