Closed samdrudd closed 6 years ago
This was a pain in the ass to add, and the only way to make it work locally is by running Chrome with some flags:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="C:/chrome-dev-storage" --args --disable-web-security
Without that, Chrome doesn't like storing cookies we send due to the same origin policy or due to the frontend running on localhost or because we're not allowing the right headers or because we didn't pass the 'credentials' flag or something else I couldn't quite figure out after about 4 days of trying.
https://github.com/mozilla/node-client-sessions