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.

Rohkem teavet

OAuth2 support for Enterprise Email Server

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.

All Replies (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?