You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just started using the library, and I'm seeing the same. Looks line 146 in the blob you found needs to be const response = await this.$http(requestOptions);
My workaround in the meantime is to also call the setToken() method in my login function after receiving the completed response.
I'm registering the vue-authenticate-2 plugin like this:
And in my component i use:
Well nothing happend and $auth.isAuthenticated stayed false.
After manually linking the source maps and a look into the source code this line:
https://github.com/ajmas/vue-authenticate-2/blob/f81d8270c4d2445db9476f5e7b1dc51bee9d64e2/src/authenticate.js#L146C1-L148C21
returns a promise and hands it into the setToken function.
Any idea what i'm doing wrong?
Or is there just a await missing?
How could this have ever worked?
The text was updated successfully, but these errors were encountered: