Thanks. As you suggest I have replaced router.replace('home')
by this.auth0.logout({ returnTo: AUTH_CONFIG.logoutUrl })
, and addedlogoutUrl: 'http://localhost:3000'
to AUTH_CONFIG.
It seems I am now logged out, but there is a new issue with the Sample app:
On the page when it says “You are not logged in! Please Log In to continue” I get an alert Could not get a new token (login_required: Login required).
If I OK that then it just repeats it ad nauseam. This did not happen before, and I still cannot log in.
Maybe it is similar to the issue 10401. If so this seems too complicated for me to sort out. I am using Chrome v70.
Surely a Sample app should just work?