You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm that the value from getToken and the secret from getSecret are exactly the same. However it is still failing the verify method. I am not sure what I am missing. Here is my test route,
You have already researched for similar issues?
Yes, I have also reached out multiple times on the fastify discord.
What are you trying to achieve, or the steps to reproduce?
I am attempting to use the csrf-protection plugin in my application. The issue I am having is with the internal csrfProtection function. Included here https://github.com/fastify/csrf-protection/blob/43c02f4223edaa2c1ef934cbb51026e0b29063cb/index.js#L113 I added a couple logging statements.
I can confirm that the value from getToken and the secret from getSecret are exactly the same. However it is still failing the verify method. I am not sure what I am missing. Here is my test route,
The commented out method works, but the decorated method doesn't
Context
The text was updated successfully, but these errors were encountered: