CSRF token on a web page with multiple forms?

328 Views Asked by At

When CSRF is enabled and a web page has multiple forms, will all the forms have the same csrf token or each form has a unique csrf token?

If this is framework dependent, then how does it work in the context of spring security?

1

There are 1 best solutions below

0
On

CSRF is not associated with form or something but to associated with each request.

Each individual request contains new csrf token.