add our own Oauth2 provider, clientID, clientSecret, ...
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
所有回覆 (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