I'm using OAuth to get a user to grant me access to their Gmail IMAP account. I can successfully get an access token, and need to know what endpoint I can access to get the authenticated user's e-mail address.
相关问题
- Script fails on SpreadsheetApp.openById - Requires
- Gmail IMAP with PHP?
- Is service account in google calendar api v3 the r
- “Unauthorized” when invoking an API App from Azure
- Angular and firebase route guard using custom clai
相关文章
- Debug HTML Email in Gmail App
- Sending email using php, gmail, and swiftmailer ca
- Proper WWW-Authenticate header for OAuth provider
- How to read the Content Type header and convert in
- Get expire time of OAuth session
- imap - get attached file
- How to log Gmail in ASP .NET MVC 5 [closed]
- Why is my bulk email being flagged as spam? [close
And you can test this feed using Google's OAuth Playground, as I just did.
In step one, paste the scope:
And in step six, paste the feed URI:
This should help in adapting the feed for use in your own application.
You can get user's username and email with endpoint: https://www.googleapis.com/userinfo/email with scope: https://www.googleapis.com/auth/userinfo#email.