Created attachment 221569 [details] cyrus-sasl2-xoauth2.shar cyrus-sasl2-xoauth2 is a plugin for cyrus-sasl2 which enables the OAuth2 login mechanism for example for mail transfer/delivery agents.
I wonder how you obtain the token in a non-interactive way to be used with Sendmail or alike. this came up here at work as well.
Thanks Thierry. Got here from https://wiki.archlinux.org/title/isync#Using_XOAUTH2 . Is there anything holding back inclusion of this port?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c7361b99facd93c93ed9d8e1b83ffc07c42aea8 commit 3c7361b99facd93c93ed9d8e1b83ffc07c42aea8 Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2023-10-15 20:05:05 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2023-10-15 20:33:31 +0000 security/cyrus-sasl2-xoauth2: New port This is a plugin implementation of XOAUTH2 for cyrus-sasl2. WWW: https://github.com/moriyoshi/cyrus-sasl-xoauth2/ PR: 252676 Sponsored by: The FreeBSD Foundation Co-authored-by: Thierry Dussuet <thierry.dussuet@protonmail.com> security/Makefile | 1 + security/cyrus-sasl2-xoauth2/Makefile (new) | 36 ++++++++++++++++++++++++++++ security/cyrus-sasl2-xoauth2/distinfo (new) | 3 +++ security/cyrus-sasl2-xoauth2/pkg-descr (new) | 6 +++++ 4 files changed, 46 insertions(+)
Thanks for submitting. A few changes were required. - Fix build due to incorrectly specified USE_LDCONFIG - Move WWW to Makefile - Pet portlint/portclippy/portfmt - Extent pkg-descr - Add missing entry to security/Makefile Please open a new issue (and feel free to tag me) if you see any problems. Thanks again, Joe