At my institution, we need to convert any SMTP email configurations using basic authentication to Oauth authentication. It’s unclear to me if there are any community recommendations for setting up SMTP with OAuth authentication in OJS.
I found this issue on GitHub, which removed the existing OAuth config settings from config.TEMPLATE.inc.php in the most recent OJS version (3.4). However, I’m not sure what that means in terms of current and future support in OJS for SMTP using OAuth.
Any clarification or resources would be greatly appreciated! We’re currently using OJS 3.3 but plan to update to 3.4 soon.
As you’ll see, it appears that they’re still struggling to come to a decision on how/when/whether to support OAuth-based authentication for email delivery. So far the maintainers seem to want users to use application passwords; I’m not sure if that’s an option in your environment…
The Symfony toolset is very widely deployed, so if it’s common for providers to need OAuth for modern email delivery it should appear there soon. Since that’s not currently the case, I suspect your provider is being unusually stringent, and will probably have similar problems with other applications.
OJS/OMP/OPS 3.3.0 and prior use PHPMailer for email delivery; it has a nascent OAuth toolset, which I believe works, but is a pain to set up. The fact of this not being better refined again suggests that it’s usually not necessary.
Sorry I can’t be more helpful!
Thanks,
Alec Smecher
Public Knowledge Project Team
Thank you for the detailed response! I’m going to take this information back to my colleagues and will update this post if we have any other questions about Symfony, etc.