NuxtN
Nuxt3mo ago
4 replies
parzival

Nuxt Security routeRules csurf

I am using csrf with nuxt security, and there a document for per route settings using the "csurf" config with route rule, but in nitro route rule there are no object for "csurf".

could you help me out guys ?

Ref:
- Nuxt Security: https://nuxt-security.vercel.app/middleware/csrf
- Nitro: https://nitro.build/config#routerules
image.png
image.png
Nuxt Security
Protect user actions from unwanted state change.
Was this page helpful?