jeremyephron / simplegmail

A simple Gmail API client for applications in Python
MIT License
348 stars 74 forks source link

Authorised redirect URIs #17

Closed cogency closed 3 years ago

cogency commented 4 years ago

Fantastic library @jeremyephron, thanks!

One difficulty - I kept getting invalid credentials errors from simple-gmail even though I had a valid json file. When creating the Google API credential you also have to specify an "Authorised redirect URI" for communicating back with the client, i.e. http://localhost:8090/

Suggest adding this to your readme.md instructions for others.

best regards

jeremyephron commented 3 years ago

I haven't seen that one before. I will look into it and add the appropriate steps. Thanks for the suggestion!

jeremyephron commented 3 years ago

I added more information and a link to Google's page with the OAuth2.0 requirements for different kinds of applications. Commit: 7cad7c12d6