Re: Oauth support

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Mon, Nov 28, 2022 at 09:42:33PM +0100, Nagy Gabor wrote:
> Dear developers,
> 
> Do roundup and mailgw support OAuth authentication for IMAP and SMTP?
> If no, is there any working patchset to achieve Oauth support for
> v2.1.0? (I saw some probably relevant patches on the devel ML.)

Yes I've implemented this some days ago. See the latest version of
roundup/scripts/roundup_mailgw.py
and
roundup/mailgw.py
This is not yet released, though. I'm running it in production on a
large tracker anyway :-) because MS will pull the plug on what they call
legacy authentication soon.

I also have a script (currently not in the roundup repo) for requesting
the initial tokens from a MS cloud. This pushes the login URL with all
the auth parameters to a browser, you log in with email + password and
it redirects to the locally-running script which uses the received auth
code to retrieve access token and refresh token. This requires that you
register an application with a localhost URL in the MS cloud. Let me
know if this is interesting for you, I might add it to some contrib
directory in the roundup sources.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.