We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Has anybody ever used Revel tests with CSRF protected application? How tests can get CSRF token?
I can come up with the following solutions:
Is there a better (less workaroundish) solution? How is this problem being solved in other frameworks?
Here is what I've managed to find:
GET
X-CSRF-Token Value : Fetch
The text was updated successfully, but these errors were encountered:
There is an official CSRF protection module now. I'm closing this in favor of a discussion in Revel issues.
Sorry, something went wrong.
No branches or pull requests
Has anybody ever used Revel tests with CSRF protected application? How tests can get CSRF token?
I can come up with the following solutions:
Is there a better (less workaroundish) solution? How is this problem being solved in other frameworks?
Here is what I've managed to find:
GET
request with headerX-CSRF-Token Value : Fetch
returns token: https://scn.sap.com/thread/3484244The text was updated successfully, but these errors were encountered: