Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Server not found" error during OAuth 2.0 Authentication #649

Closed
qosobrin opened this issue Feb 6, 2023 · 9 comments
Closed

"Server not found" error during OAuth 2.0 Authentication #649

qosobrin opened this issue Feb 6, 2023 · 9 comments

Comments

@qosobrin
Copy link

qosobrin commented Feb 6, 2023

TB 102.7.1
Windows 10 Enterprise 21H2 Build 19044.2486
Windows Feature Experience Pack 120.2212.4190.0
TbSync 4.3
Exchange ActiveSync 4.1.5

Actual behavior

Unable to create a new O356 account in TbSync Account manager since an error occurs during OAuth 2.0 Authentication

Steps to reproduce

TbSync Account Manager > Account actions > Add new account > Exchange ActiveSync > Microsoft Office 365.

Then I provided a name for the account and my actual email address and pressed the "Add account" button. A new window came up trying to request authentication but its URL was not valid ( 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=XXXXXXXX%40XXXXXXXXXX ) so it produced a "Server not found" error (the image is in Galician, my mother language, sorry)

image

I enabled the debug log in TbSync (TbSync Account Manager > Help) and repeated the process. The only thing that I could see in the debug log was this entry:

** Mon Feb 06 2023 10:26:06 GMT+0100 (hora estándar de Europa central) **
[Querry EAS autodiscover V2 URL] : https://autodiscover-s.outlook.com/autodiscover/autodiscover.json?Email=XXXXXXXX%40XXXXXXXXXX&Protocol=ActiveSync

When I accessed this autodiscover URL (https://autodiscover-s.outlook.com/autodiscover/autodiscover.json?Email=XXXXXXXX%40XXXXXXXXXX&Protocol=ActiveSync) in a separate browser window I got the following content:

{"Protocol":"ActiveSync","Url":"https://outlook.office365.com/Microsoft-Server-ActiveSync"}

Note: I changed my email for XXXXXXXX%40XXXXXXXXXX in all entries above.

@brtptrs
Copy link

brtptrs commented Feb 6, 2023

I'm seeing this problem with the normal ubuntu upgrade from today:
Ubuntu 22.04
TB 102.7.1

TbSync 4.3
Provider für Exchange ActiveSync 4.1.5
Provider für CalDAV & CardDAV 4.3

@ThomasStruller
Copy link

the same issue

@tibor-banfalvi
Copy link

The same here: Windows 10 + TB 102.7.1 (64-bit) + M365 Exchange

After TB update to this version sync does not work with existing M365 account (the only error in log: [EventLog] : OAuthServerError::{} ) and I cant set new account ("undefined" in the Oauth2 URL ).

@shibmaster
Copy link

Same here! OAuthServerError::{} after updating Thunderbird.
TB 102.7.1
TBsync 4.3
Manjaro x64 kernel 5.15.91

@jobisoft
Copy link
Owner

jobisoft commented Feb 6, 2023

jobisoft/EAS-4-TbSync#215 (comment)

@qosobrin
Copy link
Author

qosobrin commented Feb 7, 2023

Thank you, @jobisoft; I tried it and worked fine. I'm closing this issue.

Best regards.

@kidmar
Copy link

kidmar commented Feb 16, 2023

When is the new version going to be published on Mozilla website or as a Github release?

@jobisoft
Copy link
Owner

jobisoft commented Feb 16, 2023

@kidmar
Copy link

kidmar commented Feb 17, 2023

I'm sorry I was looking for an update on TbSync not on the exchange provider.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants