Skip to content

Commit

Permalink
fix: OAuth scope format
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lohse committed Jan 24, 2019
1 parent 2c8627b commit 94b53e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion googleHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const figlet = require('figlet')
const SCOPES = [
'https://www.googleapis.com/auth/contacts.readonly',
'https://www.googleapis.com/auth/userinfo.email',
'profile'
'https://www.googleapis.com/auth/userinfo.profile'
]

function getGoogleCode(oAuth2Client) {
Expand Down
3 changes: 1 addition & 2 deletions manifest.konnector
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
},
"oauth": {
"scope": [
"https://www.googleapis.com/auth/contacts.readonly+https://www.googleapis.com/auth/userinfo.email",
"profile"
"https://www.googleapis.com/auth/contacts.readonly+https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile",
]
},
"data_types": [
Expand Down

0 comments on commit 94b53e4

Please sign in to comment.