Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 1 risposta
  • 0 hanno questo problema
  • 18 visualizzazioni
  • Ultima risposta di Matt

more options

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

Tutte le risposte (1)

more options

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