Vue.js Log out not working

Hi, I’ve copied the quick start guide and have this method to log out

async logout() {
      this.$auth.logout({
        returnTo: window.location.origin,
        clientID: 'XXXXXXXXXX'
      });
    }

It does nothing and nothign changes, however if i go to my https://lol-stat.eu.auth0.com/v2/logout it works fine. Any ideas? all my URLs are correct on the backend and i don’t have a / at the end.

Hey there @Plainnn!

Can you share with us the link to the quickstart you use so we can reproduce? Thanks!

1 Like

Hey!

Thanks for the reply, https://auth0.com/docs/quickstart/spa/vuejs/01-login

Let me try to reproduce that and get back to you soon!

Dont worry I got it, it appears you cant use a @click on a router-link… Possibly the only thing i’d changed from the quickstart and I broke it… Thanks.

okok, thanks gotchya!