Skip to content

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

@christianechevarria

Description

@christianechevarria

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 nuxt-community/auth-module#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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions