How does one troubleshoot an "XSRF check failed" error when testing an LDAP connection from the Crowd web app to a Microsoft Active Directory server? I am using Crowd 2.11.0, and we have recently updated the entire company's IP scheme. I have updated all of the hard-coded IPs on the server. It's Ubuntu 16.04.2, Nginx, Postgresql, with Node and Java. I have searched the Atlassian documentation on Crowd, but there is nothing there regarding this error.
Thanks in advance,
Thanks Josh - yes sorted our issues as well (reverse proxying Crowd 3.3.0 through apache).
Ann's response below is the doc I followed: Cross Site Request Forgery (CSRF) protection changes in Atlassian REST
proxyName, proxyPort, and scheme config values should be added to the Connector tag, restart crowd to make active
For those that needs more detail steps.
Example: scheme="https" proxyName="yoursub.yourdomain.com" proxyPort="443"
4. Save the file and start Crowd.
Hope this help!
Getting the same issue while sending a request to Crowd. i checked in the server.xml file and proxy name, port and scheme have configured, but still getting the below error.
2021-01-27 11:20:43,413 http-nio-8095-exec-11 WARN [common.security.jersey.XsrfResourceFilter] XSRF checks failed for request:
@Josh Rea , what do you mean to update the connecting LDAP URL in my Crowd administration console? can you pls explain little bit.
Josh, the documentation applies to the whole Atlassian suite so it's not in the Crowd docs, I am sorry you searched in vain. The conditions that cause XSRF errors are described in:
Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events