Closed azmatzuberi closed 1 year ago
@azmatzuberi did you add redirects in your config file? Im using the package and login redirect it working
//nuxt.config.ts
auth: {
redirect: {
login: '/auth/signin',
callback: '/auth/signin',
},
}
``
If you use Vue 3 - middleware: 'auth'
will not work.
with nuxt3 it works
Following the original nuxt auth system, I put
middleware: 'auth'
on a page, but I could still navigate to it without being logged on. I then went to the module options and putenableMiddleware: true
but still no luck.