29
CSRF verification fails only after putting the app behind a reverse proxy — origin does not match, or the cookie is not set
The application works perfectly when I run it directly and reach it on a local port. Once it is behind a reverse proxy with TLS and a real hostname, any form submission fails CSRF verification. The error varies.…