Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Learn More

OAuth2 support for Enterprise Email Server

  • 2 përgjigje
  • 0 e kanë hasur këtë problem
  • 35 parje
  • Përgjigjja më e re nga himanshuj_mohan

more options

As i understand Thunderbird can be configured for OAuth2 support for various Cloud services like gmail, office365, yahoo etc. If I add new account for my enterprise domain (abc.com) using enterprise EMAIL server that supports OAuth2 how does TB know which OAuth URL to connect for initiating login process? Assuming the enterprise has hosted its own OAuth2 server for login process.

As i understand Thunderbird can be configured for OAuth2 support for various Cloud services like gmail, office365, yahoo etc. If I add new account for my enterprise domain (abc.com) using enterprise EMAIL server that supports OAuth2 how does TB know which OAuth URL to connect for initiating login process? Assuming the enterprise has hosted its own OAuth2 server for login process.

Krejt Përgjigjet (2)

more options

Oddly sounds exactly the same as https://support.mozilla.org/en-US/questions/1432903

more options

Thunderbird mantains list of Oauth2 providers in following jsm module which is kind of restrictive to few well known Oauth2 providers like Google and Microsoft.

https://searchfox.org/comm-central/source/mailnews/base/src/OAuth2Providers.jsm

It is impossible to add my custom Oauth2 providers without modifying above jsm module. Later I found a solution to create add-on that can wrap up into experimental APIs to add my custom oauth urls, client id and secret.

https://thunderbird.topicbox.com/groups/addons/Tc85dff9ce12063c6-Mb2343d4afee92f45e3868793

var scope = ChromeUtils.import("resource:///modules/OAuth2Providers.jsm", null);

Unfortunately the suggestion did not work as ChromUtils.import() has dropped support for null as second argument for exporting global variables for some reason.

I'd love to get this add-on working so that I can add my own custom provider that will help many customers who wanted to migrate from SASL PLAN to Oauth2 authentication mechanism.

Can you share any suggestion?