From 05080e2b46e2e5738bc3fcc8789fec7ffc059482 Mon Sep 17 00:00:00 2001 From: Maxi Gimenez Date: Sun, 24 Feb 2019 17:07:08 +0100 Subject: [PATCH 1/2] fix: remove plus.login from scope --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 73a945d..eb355e2 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ Vue.prototype.$googleAuth = googleAuth if (typeof options === 'object') { - config = Object.assign({ scope: 'profile email https://www.googleapis.com/auth/plus.login' }, options) + config = Object.assign({ scope: 'profile email' }, options) } } } From 3c2a312645ff78c53ba7538d7ec221dbf6aaa649 Mon Sep 17 00:00:00 2001 From: Maxi Gimenez Date: Wed, 10 Apr 2019 19:35:01 +0200 Subject: [PATCH 2/2] feat: allow full customized scope --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index eb355e2..9bc7e47 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ Vue.prototype.$googleAuth = googleAuth if (typeof options === 'object') { - config = Object.assign({ scope: 'profile email' }, options) + config = Object.assign({}, { scope: 'profile email' }, options) } } }