Skip to content

Draft: feat: Switch backend from using custom to Quarkus CSRF

Martin Lowe requested to merge malowe/main/csrf-switchover into main
  • feat: Switch backend from using custom to Quarkus CSRF

This feature makes use of a header submitted CSRF token that is checked against a cookie value as the source of truth. As the cookie is a HTTPOnly secure token, this should be much less intrusive than our current solution and likely safer in the end.

Currently, this solution assumes that the Slack webhook will be submitting a cookie to the API, as the Quarkus solution is hardcoded to check for the presence of the CSRF cookie, even when checking is disabled.

Merge request reports

Loading