https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38338
--- Comment #16 from David Cook <[email protected]> --- (In reply to David Cook from comment #14) > Technically, I suppose we could always write a pure Perl Authen::SASL::Perl > module for XOAUTH2 as well, although that is more work than I have time for. Luckily, someone else on the Internet took it upon themselves to write that code! Authen::SASL 2.18 now contains a Authen::SASL::Perl::XOAUTH2 module. Coupled with Email::Sender::Transport::SMTP 2.601, we'd have a way of authenticating using XOAUTH2 with a OAuth2 access token. -- Now... that being said... that's only part of the solution. Koha would still be responsible for getting the initial access token and refresh token, and then Koha would be responsible for getting new access tokens using refresh tokens. So even if we don't have "Authen::SASL 2.18" and "Email::Sender::Transport::SMTP 2.601" yet, we could work on the other mechanisms required to make this work for real. When we do send_or_die() we'll need to check for a failed auth. Hopefully we'll get an error message flowing through about an expired token, so that we can do a token refresh and then retry. We'll need a way to get the initial token response, store it in Koha, and then use it on an ongoing basis. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ 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/
