example-auth0
example-auth0 copied to clipboard
Breaks with target: static | Doesn't update user variables on login with target: static
Version
Reproduction link
https://github.com/christianechevarria/example-auth0
Steps to reproduce
- Clone the repo
- Host on your favorite static hosting service (Netlify, Render) with environment variables set
- 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.