Open alirezastack opened 5 years ago
Could you clarify if this is Office-js-helpers related? When you say you couldn't get the email address back, can you specify where you are unable to receive?
@sumurthy yes it is related to office.js helpers
. I have provided the code from office library and based on the scope in office-js helpers
it gives a token that return insufficient account information.
For now I use the below scope to get user email address and name:
https://www.googleapis.com/auth/ plus.me https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
The problem I faced is that when a token is generated based on
plus.me
and that token is given to google via our server. The token does not return user email address:I changed
plus.me
toplus.profile.emails.read
and I could get user's email address. Why this scope is set and is there any chance to change this scope toplus.profile.emails.read
?