Hi dan-auth0,strong text
to correctly logout in the example app I had to use in NavBar.vue:
methods: {
login() {
this.$auth.loginWithRedirect()
},
logout() {
this.$auth.logout({ returnTo: ‘http://localhost:3000’ })
//this.$router.push({ path: ‘/’ }) // this does not work
}
},
Using this.$router.push({path:‘/’}) nothing happens!!
Hope that now is all clear enough.