TanStackT
TanStack8mo ago
3 replies
wispy-yellow

Adding request headers when calling useServerFn for CSRF implementation

I am trying to implement CSRF wherein i need to pass request header which will be my csrf token received during login request, can someone direct on how to achieve this functionality. I am using useServerFn to make requests wherein this would be implemented
Was this page helpful?