Skip to content

TokenName not sent in requestHeader. #234

Answered by forgedhallpass
prasjeku asked this question in Q&A
Discussion options

You must be logged in to vote

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, the csrfguard.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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by forgedhallpass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants