Closed maps82 closed 6 months ago
Sorry. It works. I just didn't understand that the token must be passed as the first argument to the server action
No worries! Sorry you ran into trouble. I added an example of how to use Edge-CSRF with server actions to the README so it will be easier to set up for others: https://github.com/kubetail-org/edge-csrf
Can some confirm edge-csrf is working with the current Next.js 14.1.0?
This is my middleware.js:
When posting a form via a server actions I get this error:
See also Issue #21