Recently I updated my vue-authenticate package from v^1.3.4 to v1.5.0 and following breaking changes happened:
I started to have error on this lines of code:
import { VueAuthenticate } from 'vue-authenticate'
const vueAuthInstance = new VueAuthenticate(Vue.prototype.$http, {
so I had to replace them with:
import VueAuthenticate from 'vue-authenticate'
const vueAuthInstance = VueAuthenticate.factory(Vue.prototype.$http, {
In general I don't care but it looks strange, as I thought first declaration is more modern.
But the main issue happens when I try to authorise with uBlock enabled. For some reason access token doesn't set at all (I use cookieStorage). So in 1.3.4 it was OK, but with 1.5.0 and 1.4.1 (maybe others as well) after callback when my server response with access token it doesn't appear on cookies.
Without enabled uBlock it is OK. Anyway I guess problem with vue-authenticate package, because I successfully login to other sites with google and enabled uBlock.
Hi!
Recently I updated my vue-authenticate package from v^1.3.4 to v1.5.0 and following breaking changes happened:
import { VueAuthenticate } from 'vue-authenticate' const vueAuthInstance = new VueAuthenticate(Vue.prototype.$http, {
so I had to replace them with:
import VueAuthenticate from 'vue-authenticate' const vueAuthInstance = VueAuthenticate.factory(Vue.prototype.$http, {
In general I don't care but it looks strange, as I thought first declaration is more modern.
Without enabled uBlock it is OK. Anyway I guess problem with vue-authenticate package, because I successfully login to other sites with google and enabled uBlock.
Please suggest me with this issue.
I use vue-cli-3 + vue-axios + vuex config:
"vuex": "^3.6.2" "vue-axios": "^2.1.5", "vue": "^2.6.14", "@vue/cli-service": "~4.5.0", "vue-router": "^3.5.3",
Thanks!