-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookie StateSource Error: req is required #276
Comments
ah, damn. I know what this is. I will try and fix ASAP |
…martyjs#276 Fix confusing use of ! lint error
This should be fixed now. Closing. |
now i updated to 0.9.14 and tried to test it again with the same sessionCookieAPI.js as above. but now I always get: I do have cookie-parser in my package.json and it is in the node-modules folder. still I get this error. This is the accountStore.js: https://gist.github.com/Gugudesaster/771f16967e06d3ddfe27 i've been trying to solve this for hours now, but can't seem to get it working. is it a bug or am i requesting the cookie too early in the application? where else would i put my authentication? |
Are you actually using the cookie-parser middleware? https://www.npmjs.com/package/cookie-parser#api |
Getting error when I try to require a cookie StateSource.
this is my sessionCookieAPI.js:
module.exports = SessionCookieAPI;
requiring it is enough to trigger this error. No need to call an action
The text was updated successfully, but these errors were encountered: