0
votes

Google sign-in allows incremental permissions. Can it be also be used to increment to the Gmail API?

Google Sign-in Incremental auth page: https://developers.google.com/identity/sign-in/web/incremental-auth

Gmail API auth page: https://developers.google.com/gmail/api/

1
What's your usecase?noogui
Start with Google + auth and once the user has an account with the system, then they can decide if they want to authorize access to their email so that system can read and send emails on their behalf.user9465677

1 Answers

1
votes

Yes. Incremental auth allows auth scopes to be added to an already-logged-in user.

For example, to add permission to read a user's emails, the "https://www.googleapis.com/auth/gmail.readonly" will need to be additionally requested, as described in the doc.