nuxt-auth-utils
nuxt-auth-utils copied to clipboard
Safe again Cross Site Request Forgery (CSRF)?
Hi, thank you for your work on this module!
I'm quite new to Auth solutions, and saw projects use a state, or a baseUrl to protect against Cross Site Request Forgery (CSRF). I couldn't immediately see such a check implemented here, but I'm sure I'm missing something. Would you be just willing to lay out how this module handles CSRF?
Actually we don't implement it as we don't handle form submission in this module with custom login/password.
You need to implement it yourself. Could you share the project using it?
Good to know! It's a private repo, so I just invited you to collaborate.
I believe a module like https://nuxt.com/modules/csurf could do the job