-
Notifications
You must be signed in to change notification settings - Fork 19
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
CSRF token validation doesn't work on Wildfly #38
Comments
A similar issue has been reported for CXF in #27. In the CXF case we already know that the I'm not really sure if the Wildfly issue is related to this. But I guess we shouldn't rely on |
I'll have a look at it on wildfly. |
Awesome! Let me know if you need any additional info. I'll try to find some time this weekend to document how to run individual TCK tests if this helps. |
I ported the CSRF example to the testsuite and it does indeed fail on wildfly. Strange, I'm pretty sure I've seen CSRF errors on wildfly before. |
I had a closer look into this - looks like the CsrfValidationInterceptor never triggers - no idea why, it looks okay to me. The validation came back after I changed it to a |
Hmmm. Interesting. Not sure if there are any disadvantages. As mentioned before, we also had some problems with |
I didn't check this in detail, but the TCK tests for validating CSRF tokens in Wildfly are failing. It looks like submitting invalid tokens when CSRF protection is enabled doesn't result in a 401 status code as required by the spec. Perhaps the required validation isn't executed at all?
It would be great if somebody could have a look at this.
The text was updated successfully, but these errors were encountered: