Community recommendations for OAuth setup in OJS?

Hi @emilyt,

In OJS, OMP, and OPS 3.4.0 and newer, we’ve moved to using the Symfony email toolset. Its support for various transports is documented here:

https://symfony.com/doc/current/mailer.html

I’ll also link to a couple of Github discussions within the Symfony project about supporting OAuth:

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

1 Like