What you did here is almost the same as if you have done it custom, without using the nuxtjs/auth-next module. So why should we introduce another package in our project if the code is similar?!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Why not using @nuxtjs/auth-next module ?
If it's not flexible enough, you can make your own scheme like this:
schemes/laravelPassport.js
:And then use it like this in
nuxt.config.js
:What you did here is almost the same as if you have done it custom, without using the nuxtjs/auth-next module. So why should we introduce another package in our project if the code is similar?!