https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38338
--- Comment #1 from David Cook <[email protected]> --- I don't want to link to them here for fear of Bugzilla autobans but big ones are "sasl-xoauth2" by tarickb and "cyrus-sasl-xoauth2" by "moriyoshi". The one by tarickb is quite self-contained. The documentation isn't brilliant, but it's not bad. The author developed it for Postfix, but it should be usable by anything. In theory, for "sasl-xoauth2" you'd pass the username (ie email address) known by the upstream SMTP server, and then for the password you give it a filepath to a JSON object which contains things like an initial OAUTH2 access token, refresh token, etc. There are a couple different configuration options depending on your Koha server setup. In theory, Email::Sender::Transport::SMTP::Persistent should auto-detect the XOAUTH2 login method when it's offered by the SMTP server, so if a SASL plugin for XOAUTH2 is installed, then it should use it. I haven't tested this, but in theory that means we could gain XOAUTH2 support with Koha just by installing "sasl-xoauth2" on the Koha server. (Note that there is an experimental package available in Debian for this. Our feedback could help get that moved into stable I reckon.) This does need testing... but if we put in a bit of work and confirmed that this method works, then we could put up a wiki page for this and point to it in the manual and in the Koha code. -- Note that Email::Sender::Transport::SMTP::Persistent also allows you to provide a "sasl_authenticator", so if we wanted to provide a way to force XOAUTH2 as the choice, we could develop some code for that. But I think we can try the auto-detection path first as a proof-of-concept at the very least. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
