How to fix "Invalid CSRF token found in form body"?

I just updated SourceTree, tried to start it but have to log in to Atlassian. Tried logging in with Google+, get "Invalid CSRF token found in form body" error. How do I fix it?

7 answers

This widget could not be displayed.

Someone else asked this same question around the same time: https://answers.atlassian.com/questions/37036728. Sounds like an bug. You might see if you can find a report in jira.atlassian.com, and if not, file one.

This widget could not be displayed.

I´m having the same problem after an update. The setup asks for my Atlassian user id, and i get this message "Invalid CSRF token found in form body". I cannot finish the install, so i cant use SourceTree.

This widget could not be displayed.

I´m having the same problem. I can´t use my Google+ account to finish instalation. I can't use SourceTree.

This widget could not be displayed.

Looks like they tried to implement fixes for these in 1.8.2.2. Anyone tried that yet?

nope, it didn't fixed. you could only bypass it by either refresh the page (which is internet explorer - if  you're in Windows), or just close it. then after the page done, never spent too much time fiddling with it, just login and let the launcher recognize your account.

This widget could not be displayed.

Same here, pathetic

This widget could not be displayed.

The update to version 1.8.2.2 resolved for me. Now i can register the SourceTree using my google+ account.

Thanks.

This widget could not be displayed.

I got the error "No CSRF token found in headers" during login via "Use an existing account" within version 1.8.2.11. And therefor the app is not starting at all - SHIT.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

860 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you