Baroshem / nuxt-security

🛡 Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware
https://nuxt-security.vercel.app/
MIT License
820 stars 58 forks source link

[SSR] How can I use middlewares? #556

Open gabriel-nigro opened 1 week ago

gabriel-nigro commented 1 week ago

I'm trying to use middlewares (like the one in the documentation example), but I realize the middleware stop running the second I add "nuxt-security" module in nuxt.config.

How can I use both middlewares and nuxt-security?

vejja commented 1 week ago

Hi @gabriel-nigro In principle, Nuxt-Security should not interact with your middlewares. What is the symptom you are observing?