How to correctly specify various scopes?
Closed this issue · 1 comments
stefek99 commented
(new lines for readability)
Works:
<google-plus-signin
clientid="..."
accesstype="offline"
scope= 'https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email'>
</google-plus-signin>
Doesn't work:
<google-plus-signin
clientid="..."
accesstype="offline"
scope= 'https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/contacts.readonly'>
</google-plus-signin>
I'll investigate it further but maybe you'll know from top of your head...
stefek99 commented
OK.
Now I see it: https://github.com/sirkitree/angular-directive.g-signin/blob/master/google-plus-signin.js#L27
requestvisibleactions: 'http://schemas.google.com/AddActivity'
Obviously.