nuxt/example-auth0

Auth0 Example is broken

limichange opened this issue · 2 comments

Auth0 Example is broken

This question is available on Nuxt.js community (#c7)

Completely agreed, feels like it's abandoned.

With a little gymnastics I was able to get it working by changing the following in the auth.js file:

  • using $nuxt.$route.fullPath instead of window.location.href
  • wrapping anything else that used window in an if(process.browser).