example-auth0 icon indicating copy to clipboard operation
example-auth0 copied to clipboard

Breaks with target: static | Doesn't update user variables on login with target: static

Open christianechevarria opened this issue 5 years ago • 0 comments

Version

latest

Reproduction link

https://github.com/christianechevarria/example-auth0

Steps to reproduce

  1. Clone the repo
  2. Host on your favorite static hosting service (Netlify, Render) with environment variables set
  3. Sign-in

What is expected ?

Vuex store updates with auth values

What is actually happening?

User is redirected to home and can't access auth protected routes, but when tries to sign-in is already signed-in

Additional comments?

This is likely related to this https://github.com/nuxt-community/auth-module/issues/893 (see the note about SSG) but I wanted to add this as an issue in case anyone else runs into this problem.

This bug report is available on Nuxt community (#c54)

christianechevarria avatar Dec 08 '20 18:12 christianechevarria