CSRF token on a web page with multiple forms?

300 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 answers

0
Atul On

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

Each individual request contains new csrf token.