Notizie: lo sai che puoi installare Firefox anche su dispositivi Apple iPhone e iPad? Provalo subito!

Autore Topic: Thunderbird with Oauth2 on own server support  (Letto 350 volte)

0 Utenti e 2 Visitatori stanno visualizzando questo topic.

Offline apashee

  • Post: 1
Thunderbird with Oauth2 on own server support
« il: 30 Agosto 2023 14:33:22 »
Hi everyone  :fx2:,

I'm implementing an IMAP server with Oauth2 login capability.

My goal is to let user login to it using Thunderbird.

I have read in mozilla documentation at https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat
under the Oauth2 section:

"Due to a defficiency in the OAuth2 spec, the client is usually required to send a client credential key, which in turn requires the client to be registered and approved by the email provider. Unfortunately, this not only allows email providers to block specific email clients (which is contrary to the idea of Open-Source), but also makes it impossible to support arbitrary OAuth2 servers. That's why Thunderbird is forced to hardcode the servers that it supports and the respecive client keys. That means that you cannot use OAuth2 for your own server. Only the servers listed on OAuth2Providers.jsm will work"

Is this true for the autoconfiguration process or for the whole oauth2 on own server support?

Right now I'm trying to login with a test account on mail system via Thunderbird configurated with Oauth2,
from Dovecot I can see Thunderbird reaching the server and receiving response, after that Dovecot says:

"imap-login: Disconnected: Connection closed (no auth attempts in 0 secs)"
and thunderbird hangs up indefinitely.

Just to know if I'have hope to make it work or not.

Many thanks

Gabriele

0 Utenti e 2 Visitatori stanno visualizzando questo topic.