From 30 May 2022 we will be required to use OAuth2, not normal passwords, to log in to Gmail accounts. How will this Google announcement affect Thunderbird? So, I've tried several times to change the Gmail accounts in my Thunderbird instance (versions 91.7.0, 91.7.1 and 91.8.1 at different times, on Kubuntu Linux 20.04) to use OAuth2.
However, when I try the required steps:
- Account Settings > Server Settings > Authentication method = OAuth2
- Remove existing password
- Restart Thunderbird
after the expected OAuth2 login pages (email address, then password, then "Mozilla Thunderbird Email want to access your Google Account), I get an unexpected "Secure connection failed" page.
Secure connection failed
This could be a problem with the server's configuration, or it could be someone trying to impersonate the server.
If you have connected to this server successfully in the past, the error may be temporary, and you can try again later.
Or you can add an exception...
The add an exception link does not do anything. There is no way past this other than closing the dialogue. The authentication is not successful.
The title bar of this dialogue window shows https://192.168.x.x/?code=... with my own IP address. I'm not clear why the OAuth2 process would need to call a web server on the local machine.
Reverting to "Normal password" enables the account to work correctly in Thunderbird, but this won't be possible after 30 May.