Open m0zz094 opened 1 year ago
That's an interesting bug that appears to be Nuxt related. As a workaround, could you use a separated page for your reserved-area instead?
Hi @Hebilicious, I could try this but ideally I'm creating private pages from a headless CMS so there could be different slugs, I'll open an issue in Nuxt
Environment
Nuxt project info: 14:22:52
Build Modules: -
Reproduction
https://github.com/m0zz094/authjs-nuxt-bug
Describe the bug
I have a catch all route where, if the page path is equal to "/reserved-area", i want to add the auth middleware, it looks like this is not working right now
Additional context
No response
Logs