thsmi / sieve

Sieve Script Editor
GNU Affero General Public License v3.0
751 stars 57 forks source link

XOAUTH2 mechanism #927

Open scottishwidow opened 7 months ago

scottishwidow commented 7 months ago

Greetings. I have a mail server with a custom XOAUTH2 method for SASL, using it I have 2FA implemented for IMAP authentication. Right now I am studying this application's code base and searching for a way to make this custom mechanism work for sieve as well. Could anyone tell where to look? The main goal is to be able to pass a JWT token as a password after retrieving it from a token endpoint using normal credentials and one time password. Thanks in advance for any guidelines.