thunderbird / autoconfig

The ISPDB, Thunderbird's database of mail configuration files.
https://autoconfig.thunderbird.net/v1.1/
Mozilla Public License 2.0
55 stars 39 forks source link

Set Hotmail to `OAuth2` instead of `Normal password` #93

Closed rtanglao closed 8 months ago

rtanglao commented 9 months ago
rtanglao commented 9 months ago

tl;dr not sure we can fix this. It seems like an MS issue not a Thunderbird issue. Willing as always to be proven wrong :-) !

  1. In the web interface at outlook.com i created a new hotmail account, let's call it newhm@hotmail.com
  2. i added newhm@hotmail.com
  3. I set 2FA on with an email account (my gmail account as the second factor)
  4. i added newhm@hotmail.com to TB
  5. i couldn't send or receive email with newhm
  6. i changed IMAP and SMTP to OAuth2 (TB autoconfig set it to Normal password
  7. i tried to send and receive email with newhm and it worked (in the process firefox opened to the MS site and prompted me for the password, i entered my newhm password and also the 2FA code from gmail)

hooray for microsoft lack of clarity :-) (i tested on Windows 11, Ubuntu and macOS all with the same results)

cketti commented 9 months ago

Changing the config to use OAuth2 should be fine. I'll run some tests next week to make sure there's no problems.

cketti commented 8 months ago

@rtanglao: The updated config is now available in the staging environment. You can test it in Thunderbird by changing mailnews.auto_config_url to https://autoconfig-stage.thunderbird.net/v1.1/

It worked fine in my tests. But if you have the time, please do some checks on your side as well.

rtanglao commented 8 months ago

https://autoconfig-stage.thunderbird.net/v1.1/

I tested this with thunderbird beta 123 and hotmail configured with OAuth2 for IMAP and SMTP so you can close this issue @cketti Thanks for fixing it!

cketti commented 8 months ago

I now also pushed the change to the production environment.

rtanglao commented 8 months ago