I am using browser sync and a web api C# 2.0, when I call a method to login it returns in the response headers set-cookie, but the method does not set cookie in the browser.
browserSync.init({
notify: false,
cors: true,
port: 6543,
server: {
baseDir: config.dir.src,
routes: {
"/bower_components": "bower_components"
},
middleware: [function(req, res, next) {
next();
}]
}
});
Edit