Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

add our own Oauth2 provider, clientID, clientSecret, ...

  • 1 èsì
  • 0 ní àwọn ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ Matt

more options

Hello. I have my own self hosted mail server and I would like to use OIDC/Oauth2 authentification anbd take benefit of MFA/WebAuthN. I am interested in using OAuth connection with Thunderbird

Right now the definition of clientId, scopes, endpoints are hardcoded here: https://github.com/mozilla/releases-comm-central/blob/master/mailnews/base/src/OAuth2Providers.jsm

Do you have any tip to add our own server definition without needing to recompile Thunderbird ?

I saw previously it seems to be possible to append definition via this hack; https://thunderbird.topicbox.com/groups/addons/Tc85dff9ce12063c6-Mca4319b1e41dfa4b426e22fc/extension-to-add-custom-oauth-provider but now ChromeUtils.import() exports only EXPORTED_SYMBOLS which contains only getters functions

Another manner could be to improve https://github.com/mozilla/releases-comm-central/blob/master/mailnews/base/src/OAuth2Providers.jsm and add function where a plugin could append new definition Do you have any suggestion, better idea ?

Kind Regards, Edouard

Hello. I have my own self hosted mail server and I would like to use OIDC/Oauth2 authentification anbd take benefit of MFA/WebAuthN. I am interested in using OAuth connection with Thunderbird Right now the definition of clientId, scopes, endpoints are hardcoded here: https://github.com/mozilla/releases-comm-central/blob/master/mailnews/base/src/OAuth2Providers.jsm Do you have any tip to add our own server definition without needing to recompile Thunderbird ? I saw previously it seems to be possible to append definition via this hack; https://thunderbird.topicbox.com/groups/addons/Tc85dff9ce12063c6-Mca4319b1e41dfa4b426e22fc/extension-to-add-custom-oauth-provider but now ChromeUtils.import() exports only EXPORTED_SYMBOLS which contains only getters functions Another manner could be to improve https://github.com/mozilla/releases-comm-central/blob/master/mailnews/base/src/OAuth2Providers.jsm and add function where a plugin could append new definition Do you have any suggestion, better idea ? Kind Regards, Edouard

All Replies (1)

more options

you probably need to ask that in a developer forum. https://thunderbird.topicbox.com/groups/developers

My request to implement dynamic oauth registration has not gone as well as I hoped https://bugzilla.mozilla.org/show_bug.cgi?id=1602166