If you're seeing a CSRF error message when logging into your Todoist account, don’t panic. You can find some simple solutions below:
Invalid or missing CSRF token
This error message means that your browser couldn’t create a secure cookie, or couldn’t access that cookie to authorize your login. This can be caused by ad- or script-blocking plugins, but also by the browser itself if it's not allowed to set cookies.
To address this issue, follow these steps.
- Open Chrome Settings.
- In the Privacy and security section, click Cookies and other site data.
- Copy and paste "[*.]todoist.com" and click Add.
- Then copy and paste "[*.]cloudfront.net" and click Add.
- Click See all cookies and site data, search for todoist, and delete all Todoist-related entries.
- Reload Chrome and log into Todoist.
- Open the Firefox Options menu.
- On the left, select Privacy & Security.
- Under Cookies and Site Data click on Manage Exceptions.
- Copy and paste "https://todoist.com" and click Allow.
- Then copy and paste "https://cloudfront.net" and click Allow.
- Click Save Changes.
- Next, click on Manage Data.
- Search for todoist and select Remove All Shown.
- Click Save Changes and confirm in the pop-up window by clicking Remove.
- Reload Firefox and log into Todoist.
- Open Safari Preferences from the drop-down menu in the navigation bar or by typing Cmd + , (⌘,).
- Click the Privacy tab and make sure that "Cookies and website data" is not set to "Block all cookies".
- Click on Manage Website Data to see all locally stored website data.
- Search for “Todoist” and remove all Todoist-related entries.
- Reload Safari and log into Todoist.
CSRF tokens mismatch
This error message is caused by privacy extensions. If you are running any privacy extensions such as Ghostery or Privacy Badger, make sure to add todoist.com as a trusted website.