This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

  • 1 பதிலளி
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 18 views
  • Last reply by Matt

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)

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