Invalidate CSRF Token
Hi,
We know currently CSRF token has expiration set to 10 mins and token is generated every 5 minutes.
We have a requirement wherein they do not want the "CSRF Token" submitted on the POST request to be used again. In scenarios where we have multiple steps(POST requests) in a flow or when you try to replay the XHR request, it uses the same CSRF token for every form submit.
Is there any way we can invalidate the CSRF token once it is used and regenerate a new one for the subsequent requests?
Thanks,
Divya