thsmi/sieve

XOAUTH2 mechanism

scottishwidow opened this issue · 0 comments

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.