Skip to content

Resolve "Add CSRF token verification to API"

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)

Edited by username-removed-86853

Merge request reports