Skip to content

Resolve "Add CSRF token verification to API"

blackst0ne requested to merge 33601-add-csrf-token-verification-to-api into master

What does this MR do?

This MR adds a verification of CSRF tokens to API helpers.

Why was this MR needed?

It allows the frontend use API endpoints which require PRIVATE-TOKEN header to be set.
Instead of PRIVATE-TOKEN frontenders can use X-CSRF-TOKEN header instead.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #33601 (closed)

Merge request reports