-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fixes Outlook outgoing server autoconfig failure #9089
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
Fixes Outlook outgoing server autoconfig failure #9089
Conversation
cd37231
to
115a019
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me with the few comments considered. We'll want QA to test this with all the remaining OAuth providers. Once merged and in either a daily or beta release, let's get Corey to pass this on to QA.
legacy/common/src/main/java/com/fsck/k9/backends/RealOAuth2TokenProvider.kt
Show resolved
Hide resolved
...tocols/smtp/src/test/java/com/fsck/k9/mail/transport/smtp/SmtpServerSettingsValidatorTest.kt
Show resolved
Hide resolved
115a019
to
e407259
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given your addressing @kewisch 's comments I think the only thing left to do is squash then this is good
[Approval Request Comment] |
This was included in today's merge of main->beta |
Fixes: #8024
The issue mainly occurred when the primary email associated with an account did not match the username used for authenticating to the Outlook SMTP. To resolve this problem, we are now retrieving the primary email included in the OAuth2 tokens to ensure proper authentication with the outgoing server.
Changeset:
OAuth2TokenProvider
to Kotlin