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

christianechevarria
0
christianechevarria
commented 3 months ago

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.

bug
0
Informations
Bug ReportOpen
#c54 - Created 3 months ago