It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Crowd XSRF check failed

Josh Rea Jun 05, 2017

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,

Josh

2 answers

1 accepted

2 votes
Answer accepted
Josh Rea Jun 06, 2017

I had to add a proxyName, proxyPort, and scheme configurations into the crowd server.xml file, due to it being ran behind Nginx. I hope that helps anyone who comes across this same issue.

-Josh

Andrew Cartwright Oct 15, 2018

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

0 votes
Ann Worley Atlassian Team Jun 05, 2017

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:

Cross Site Request Forgery (CSRF) protection changes in Atlassian REST

Josh Rea Jun 05, 2017 • edited

Thanks Ann!

So it's my understanding that XSRF errors are simply URL mis-matches, therefore, I would simply need to update the connecting LDAP URL in my Crowd administration console?

-Josh

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Handling Opsgenie Alerts

Hi everyone, welcome to the kb articles for Opsgenie FAQs. I'm one of the Technical Support Engineers for Opsgenie who will be providing weekly posts on FAQs from customers.   All alerts are ...

66 views 0 3
Read article

Community Events

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

Events near you