I'm setting up G Suite for sending notifications and password resets according to Manual:$wgSMTP, with some modification according to https://support.google.com/a/answer/2956491?hl=en. It seems that sending emails don't work unless I enable "Less Secure Apps" in Google. How can I make it so MediaWiki is not considered a "Less Secure App"? I'm using MW 1.33.1, PHP 7.2 fpm-fcgi, MySQL 5.7.27.
Topic on Project:Support desk
Based on https://security.googleblog.com/2014/04/new-security-measures-will-affect-older.html sounds like they want MW to support OAuth2 for sending email, which i guess we don't (or more specificly, pear mail does not).