You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install cerebrate on fresh VMs (Ubuntu 20.04 and 22.04) using both apache2 and ngix and I am encountering a "Missing or incorrect CSRF cookie type" error when attempting to log in to the application. The issue arises when navigating to '/users/login?redirect=%2F', resulting in the application failing to find the requested address and throwing a CSRF token validation error.
Is the baseurl set up correctly? I cannot reproduce it, but something that may give a hint is that the CSRF tokens are generated by a mixture of the baseurl, current time, the fields in the form, the target URL and a random value.
Description
I tried to install cerebrate on fresh VMs (Ubuntu 20.04 and 22.04) using both apache2 and ngix and I am encountering a "Missing or incorrect CSRF cookie type" error when attempting to log in to the application. The issue arises when navigating to '/users/login?redirect=%2F', resulting in the application failing to find the requested address and throwing a CSRF token validation error.
Steps to Reproduce
Expected Behavior
The login should be successful, and the user should be redirected to the specified redirect URL without encountering CSRF token errors.
Actual Behavior
The login process is interrupted by a `Missing or incorrect CSRF cookie type." error.
Environment
Log Output
/var/www/cerebrate/logs/error.log
Additional Context
Attempts to Resolve
I am looking for guidance on how to resolve this issue and would appreciate any advice or suggestions.
Thank you in advance.
The text was updated successfully, but these errors were encountered: