[HELP] Cannot login, error shows "BAD CSRF"

same here:

updated discourse+plugins yesterday.

today users reported login to discourse not possible - already logged in sessions are working fine.

showing login error: “unbekannter fehler / unknown error”
browser console: “BAD CSRF” and some javascript

fix:
add this to nginx config:

proxy_set_header X-Forwarded-Proto https;

best regards,
daniel

3 Likes