-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Be able to runt the script without having to switchAllow less secure apps
to OFF
#5
Comments
and the following error
|
@bcylincoln and I are interested in trying to solve this; we're going to try to build off to use OAuth2 and the Gmail API to send emails. Any tips would be greatly appreciated! |
My tip would have been too use oauth from the start haha |
Any ideas on how to manage client secret/ client id? https://github.com/googleapis/google-api-python-client/blob/master/docs/oauth-installed.md#overview The above link seems to simultaneously suggest that the client secret and id do and do not need to be kept secret, i.e. "The client ID and client secret obtained from the API Console are embedded in the source code of your application. In this context, the client secret is obviously not treated as a secret." Important: Do not store the client_secrets.json file in a publicly-accessible location, and if you share the source code to your application—for example, on GitHub—store the client_secrets.json file outside of your source tree to avoid inadvertently sharing your client credentials." |
If you have 2FA enabled on the account, you can generate an application-specific password and not need to enable less-secure apps. |
This is probably a big one, I'm not sure how we can do this actually, but thought this would be a good place for discussion
The text was updated successfully, but these errors were encountered: