projecthorus / radiosonde_auto_rx

Automatically Track Radiosonde Launches using RTLSDR
GNU General Public License v3.0
476 stars 123 forks source link

Gmail SMTP unsupported from May 30 (Email Notification) #624

Open JRus-design opened 2 years ago

JRus-design commented 2 years ago

I received a message from Gmail, telling low secure access to a Gmail Account will be not supported from May 30. They recommend to use OAuth 2.0. Radiosonde auto rx can be configured to the new access? Thanks,

darksidelemm commented 2 years ago

Can you point to documentation as to how a developer is meant to send e-mail via this kind of system?

JRus-design commented 2 years ago

imagen

Hi Mark!

Sorry I don´t understand very well your question. I use a dedicated gmail account to launch the notification mails, configured as attached. To use this logging method I need to cofigure the mail account to low secure access. I don't know is the correct method.

Best regards

darksidelemm commented 2 years ago

For a long time you've need to use 'device specific passwords' with gmail to be able to use SMTP. Are you saying that support for device-specific passwords is going to be dropped?

What i'm looking for is a worked example of how to send an e-mail with the new authentication system that gmail is requiring, and what users need to do to get the required codes.

JRus-design commented 2 years ago

I send you the message received from Gmail. Sorry is in Spanish.

Best regards,

El vie., 4 mar. 2022 11:42, Mark Jessop @.***> escribió:

For a long time you've need to use 'device specific passwords' with gmail to be able to use SMTP. Are you saying that support for device-specific passwords is going to be dropped?

What i'm looking for is a worked example of how to send an e-mail with the new authentication system that gmail is requiring, and what users need to do to get the required codes.

— Reply to this email directly, view it on GitHub https://github.com/projecthorus/radiosonde_auto_rx/issues/624#issuecomment-1059046976, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANU5HCCTXOTDIAASZNSZLBDU6HSKRANCNFSM5P5D6XKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

trevor229 commented 2 years ago

I am facing the same issue as well. Google sent the following email to users with the less secure apps option enabled, stating the following:

On May 30, you may lose access to apps that are using less secure sign-in technology.

To help keep your account secure, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. Instead, you’ll need to sign in using [Sign in with Google] or other more secure technologies, like OAuth 2.0.

And links to this Google support page. To fix this, sign in with google or more likely OAuth2 will need to be implemented to fix email notification support.

trevor229 commented 2 years ago

I just tested "App passwords" with my Dell server iDRAC's which do not support OAuth or sign in with Google. They function perfectly for this application.

These essentially seem to function in the exact same way as the depricated "less secure app" setting which allowed account access without any other authentication for third party apps, but now there is per-application password control. You create a randomized password and give it a name in your account settings. You can view/copy the password only once. Using it combined with the email its associated with as a login works just as before. The only caveat is the account you use for email notifications must have 2 factor authentication enabled. Here is Google's support page on creating app passwords

Ultimately, implementing OAuth2 may be a better option for the future.

darksidelemm commented 2 years ago

Yep, App passwords are what I'm using.

As for OAuth support, I'd like to see it supported, but I'm really running short on time to work on this kind of thing at the moment.