vue-google-auth
vue-google-auth copied to clipboard
Scopes are overwritten
config = Object.assign(options, { scope: 'profile email https://www.googleapis.com/auth/plus.login' })
This overwrites any user provided scopes
Changing to config = Object.assign({ scope: 'profile email https://www.googleapis.com/auth/plus.login' }, options) would preserve expected behavior since no one can add scopes anyway, but allow the optional parameter.
did you find a solution for this? I have the same problem. I want to add "google calendar" scope but as you wrote, it's not possible at this time.
Hey darior87!
I just switched the object assign around and it works great for me, I'm using the Google Analytics scope.
This commit does it on my fork. Let me know if that works for you!
Yes, I cloned also this repo and created my own with this fix and it works. thanks to your comment!