Reputation: 60768
Gmail released a new API and since the auth scope is the same as for IMAP, it looks like IMAP access tokens will work on the Gmail API.
What is unclear is if OAuth 1 tokens will work on the Gmail API. I have legacy OAuth 1 tokens I'm considering migrating from IMAP to the Gmail API but I cannot ask the users to update their credentials.
Upvotes: 0
Views: 200
Reputation: 7159
Gmail API does not support the deprecated Oauth1 standard. A forward-path for upgrading those tokens to Oauth2 (without user involvement) can be found:
https://developers.google.com/accounts/docs/OAuth_ref#migration
Upvotes: 1