I tried the code at QuickStarts and it works fine for Login, view profile and REST API authentication part.
The only issue is with Logout!!
It does redirect to http://localhost, without any port, and I get an additional error in VSCode debugger stating:
NavigationDuplicated: Avoided redundant navigation to current location: “/”.
at createRouterError (/home/eanx/Desktop/Code/02-calling-an-api/node_modules/vue-router/dist/vue-router.esm.js:2008:1)
How to fix it?