Add support for RFC 7628 openid-configuration element in SASL reply. This would simplify adding any 3rd party oauth provider to #thunderbird and allow migrating from password authentication.
The server side of this is implemented i e.g. Dovecot IMAP...