-
Notifications
You must be signed in to change notification settings - Fork 121
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
use postman in chrome found error : CSRF token missing #73
Comments
Did you figure it out? I'm facing the same issue. |
Did you send the token with your request? |
Yes, I did. I put it in the header |
hello @lvarayut and @aredridel Using lusca 1.3.0 and express 4.13.3 |
Hello @lvarayut. a csrf token is not an auth token—it won't work as a bearer token. You'll want to set the
Hey @danilodeveloper. It sounds like you may have a slight misconfiguration—perhaps load order? Are you loading lusca after you register your routes, by chance? Do you have body-parsing middleware before lusca? |
No worries. Glad it worked out. 😀 |
@jasisk Perfect! Thanks for your response. |
Hi, I from where did you fetch this token. I want to have application to post data on other application. so i am looking for a method to fetch this token before making post request. |
Hi, I have the same issue with postman |
use "csrfmiddleware" : "your csrf token" as a key-value pair, This solved my problem. |
use postman in chrome found error : CSRF token missing
The text was updated successfully, but these errors were encountered: