Vue3 - Pinia + Auth0 - isAuthenticated always false

I don’t know if this is the issue in your case, but when using the built in authGuard the @auth0/auth0-vue library docs section on protecting a route indicate that you need to register the router BEFORE the Auth0 module in main.ts, i.e.

// what you have now
const app = createApp(App)
app.use(authService)
app.use(router)

// what you might want instead
const app = createApp(App)
app.use(router) // <== PUT THIS BEFORE AUTH
app.use(authService)

Hope this helps!