All good!
methods: {
authenticate: function (provider) {
var this = this;
this.$auth.authenticate(provider).then(function () {
// Execute application logic after successful social authentication
console.log(this.$auth.getToken());
this.$router.push('/dashboard');
})
}
}
I needed to add the this_ , I was trying to use this.$auth.getToken() before but it was undefined.
8080
while the frontend runs on 8081