-
Notifications
You must be signed in to change notification settings - Fork 263
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
Unable to connect to Microsoft 365 or Personal Outlook accounts using xoauth2 #8258
Comments
This must be a regression of #8156 |
mail/lib/IMAP/IMAPClientFactory.php Line 107 in e085500
|
It does make sense to not have an access token at that point
If we sync mailboxes in step 1 it succeeds for password-authenticated accounts but fails for OAuth. We should move the mailbox sync to a later point in time for OAuth @hamza221. |
I have attempted to revert the change to AccountsController to the version without #8156 and the process could work as expected*. |
@hamza221 O365 is tricky to set up but you should be able to reproduce with Gmail OAuth as well following https://developers.google.com/identity/protocols/oauth2 |
You can try v3.0.3-beta1. It's available through the app store. |
Thanks for addressing this issue. I'll sure check it out today. I'll let you know if the patch is working as soon as possible. |
Hi @ChristophWurst, I am glad to report that the patch seems to be working. Thank you all, for solving this this fast. |
Kudos to @hamza221 |
Steps to reproduce
Expected behavior
Authenticate procedure starts, and email added to the system.
Actual behavior
Interface prompt:
There was an error while setting up your account
Nextcloud log shows following:
(installation path, IP, and real username hidden)
Mail app version
3.0.0
Mailserver or service
Microsoft 365 / Outlook (Personal)
Operating system
Linux 4.18.0-305.17.1.lve.el7h.x86_64 x86_64
PHP engine version
None
Web server
Other
Database
MySQL
Additional info
Web Server: LiteSpeed.
The text was updated successfully, but these errors were encountered: