搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.

所有回复 (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?