camunda / issues

4 stars 0 forks source link

Web Modeler not accessible behind Azure Application Gateway #727

Closed jfriedenstab closed 2 months ago

jfriedenstab commented 3 months ago

Describe the bug Web Modeler is not accessible behind Azure Application Gateway with Web Application Firewall (WAF). Requests to POST /internal-api/login fail with HTTP status 400 and the following error in the webapp logs: Bad Request - CSRF verification failed.

Log/Stacktrace

"timestamp":"2024-04-09T08:34:23.787Z","severity":"ERROR","pid":16,"correlationId":"390535f0-efcf-46e6-b0f7-4db2f9d900df","stack":
"BadRequestError: Bad Request - CSRF verification failed!
\n    at Object.throw (/home/webapp/node_modules/koa/lib/context.js:97:11)
\n    at call (/home/webapp/webpack:/webapp/src/Server/middleware/CsrfFilter.js:37:11)

Environment:

Support Issue