TokenName not sent in requestHeader. #234
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @prasjeku, It is hard to figure out what the problem may be, because you haven't provided enough information. What I would recommend is to check out the test application in the repository which comes with sample configurations for stateful JSP applications. If you are you using JSPs you need to add in the relevant Maven dependency ( |
Beta Was this translation helpful? Give feedback.
Hello @prasjeku,
It is hard to figure out what the problem may be, because you haven't provided enough information.
What I would recommend is to check out the test application in the repository which comes with sample configurations for stateful JSP applications. If you are you using JSPs you need to add in the relevant Maven dependency (
csrfguard-jsp-tags
), and then use the relevant tags in your pages. For the JavaScript approach, thecsrfguard.js
script needs to be loaded on every page you have, and of course your CSRFGuard configurations needs to be present and accessible by the solution.