Too Long; Didn't Read
Using $router.push in Nuxt.js and invoking a.router.push in subsequent line of code in the same method is redundant. The conundrum began when the lines after the.auth.loginWith method did not execute as intended since the page was redirected to the redirect. URL. The only thing left to do is disabling the redirect case in the. auth option: false will do the job! The.auth object in nuxt.config.js would look like this now:
Share Your Thoughts