“Invalid or missing CSRF token” error message

Available for:

If you see this error message when logging into your Todoist account, don’t panic– there are simple solutions depending on which browser you use.

The “Invalid or missing CSRF token” 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.


  1. Open Chrome Settings.
  2. Scroll to the bottom and click on Advanced.
  3. In the Privacy and security section, click the Content Settings button.
  4. Click on Cookies.
  5. Next to Allow, click Add.
    1. Type [*.]todoist.com and click “Add”.
    2. Then type [*.]cloudfront.net and click “Add”.
  6. Under All cookies and site data, search for todoist, and delete all Todoist-related entries.
  7. Reload Chrome and log into Todoist.


  1. Go to Firefox's Preferences -> Privacy & Security menu.
  2. In the History section, select "Use custom settings for history" from the drop-down menu.
  3. Click on Exceptions and whitelist https://todoist.com and https://cloudfront.net.
  4. Scroll down to Site Data and click on Settings next to it.
  5. Search for "todoist" and remove all shown entries.
  6. Reload Firefox and log into Todoist.

If this alone won't help, please enable third-party cookies in the menu mentioned in point 2.


  1. Open Safari Preferences from the drop-down menu in the navigation bar or by typing Cmd + , (⌘,).
  2. Click the Privacy tab and make sure that "Cookies and website data" is set to either "Always allow" or "Allow from websites I visit".
  3. Click on the Manage Website Data button to see all locally stored website data.
  4. Search for “Todoist” and remove all Todoist-related entries.
  5. Reload Safari and log into Todoist.