TbSync icon indicating copy to clipboard operation
TbSync copied to clipboard

Adding EAS M365 account attempts to load auth URL with 'undefined' as the hostname

Open pkopacz opened this issue 3 years ago • 6 comments

Your environment

TbSync version: 4.3 Thunderbird version: 102.7.1 (64-bit)

Expected behavior

When adding an new Microsoft 365 account, I enter my email address and use autodiscover to load the authentication page.

Actual behavior

The authentication URL that it tries to load doesn't work: https://undefined/?response_type=code&client_id=undefined&redirect_uri=https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fnativeclient&scope=https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fv2.0%2Fauthorize&login_hint=pkopacz%40uoguelph.ca

Steps to reproduce

Attempt to add a new EAS account to TBSync and choose M365 and an @uoguelph.ca address... I don't have any other domain to test.

Debug file only contains this:

** Wed Feb 01 2023 14:36:01 GMT-0500 (Eastern Standard Time) ** [Querry EAS autodiscover V2 URL] : https://autodiscover-s.outlook.com/autodiscover/autodiscover.json?Email=pkopacz%40uoguelph.ca&Protocol=ActiveSync

pkopacz avatar Feb 01 '23 19:02 pkopacz

Existing accounts, at time of upgrade, similarly fail to login or sync. I tried to remove accounts and fully reinstall and then ran into the issue reported here. I presume it is the same cause, as of TB 102.7.1

Screenshot 2023-02-01 at 7 12 22 PM

btaroli avatar Feb 02 '23 03:02 btaroli

Same here, same thunderbird and tbsync versions.

xmentos avatar Feb 02 '23 09:02 xmentos

Same issue here. For the moment I downgraded Thunderbird to 102.6.1 and TBSync is working ok.

stheine avatar Feb 02 '23 09:02 stheine

I ran into the same issue and had to revert back to TB 102.6.1

smmehta1822 avatar Feb 02 '23 15:02 smmehta1822

Same.

alex-metcalfe-358 avatar Feb 04 '23 07:02 alex-metcalfe-358

https://github.com/jobisoft/EAS-4-TbSync/issues/215#issuecomment-1416725608

jobisoft avatar Feb 04 '23 11:02 jobisoft