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

Hotmail IMAP XOAUTH2 #1753

Closed
philipwhiuk opened this issue Oct 25, 2016 · 4 comments · Fixed by #6115
Closed

Hotmail IMAP XOAUTH2 #1753

philipwhiuk opened this issue Oct 25, 2016 · 4 comments · Fixed by #6115
Labels
type: enhancement New features or improvements to existing features. type: security Issues related to security vulnerabilities

Comments

@philipwhiuk
Copy link
Contributor

philipwhiuk commented Oct 25, 2016

Expected behavior

Use the secure method of authenticating, rather than requiring app-specific passwords

See #1698 and #655 for similar

Actual behavior

App specific password required.

Implementation notes

IMAP advertisments:

CAPABILITY, IMAP4rev1, CHILDREN, ID, NAMESPACE, UIDPLUS, UNSELECT, AUTH=PLAIN, AUTH=XOAUTH2, SASL-IR

Documentation

https://msdn.microsoft.com/en-gb/library/dn440163.aspx

Environment

K-9 Mail version: 5.114

Android version: 7.0

Account type (IMAP, POP3, WebDAV/Exchange): IMAP

@philipwhiuk
Copy link
Contributor Author

Opened from #1752

@philipwhiuk philipwhiuk added the type: enhancement New features or improvements to existing features. label Oct 25, 2016
@philipwhiuk
Copy link
Contributor Author

Per comments on #1295 it will depend on us:

  • Implementing the work in Back-end changes for Google XOAUTH2 #1747
  • Implementing a generic way of requesting OAuth tokens outside the Android Accounts system (which works for Google).
  • Implementing any specific requirements for Microsoft.

@philipwhiuk philipwhiuk added this to the Onboarding milestone Nov 9, 2016
@philipwhiuk philipwhiuk added the type: security Issues related to security vulnerabilities label Nov 16, 2016
@Morthawt
Copy link

Has OAuth 2.0 been implemented? I just received an email from Microsoft (I am a global admin of our company's Office 365. It states the following:

Beginning October 13, 2020, we will retire Basic Authentication for EWS, EAS, IMAP, POP and RPS to access Exchange Online. Note: this change does not impact SMTP AUTH.

There are several actions that you and/or your users can take to avoid service disruptions on client applications, and we describe them below. If no action is taken, client applications using Basic Authentication for EWS will be retired on October 13, 2020.

Any application using OAuth 2.0 to connect to these protocols, will continue to work without change or interruption.

[What do I need to do to prepare for this change?]

You have several options on how to prepare for the retirement of Basic Authentication.


    You can start updating the client applications your users are using to versions that support OAuth 2.0 today. For mobile device access, there are several email apps available that support Modern Authentication, but we recommend switching to the Outlook app for iOS and Android as we believe it provides the best overall experience for your M365 connected users. For desktop/laptop access, we encourage the use of the latest versions of Outlook for Windows and Outlook for Mac. All Outlook versions including, or newer than, Outlook 2013 fully support OAuth 2.0.

    If you have written your own code using these protocols, you will need to update your code to use OAuth 2.0 instead of Basic Authentication, you can reach out to us on stack overflow with the tag exchange-basicauth if you need some help.


    If you or your users are using a 3rd party application, which uses these protocols, you will either need to


        reach out to the 3rd party app developer who supplied this application to update it to support OAuth 2.0 authentication


        -or-

        assist your users to switch to an application that’s built using OAuth 2.0.

Is this implemented in k9mail? I prefer using k9 as my mobile email client.

@fullmetal1
Copy link

I have gotten the same email from my company. Merging the pull request for this would be greatly appreciated.

@cketti cketti modified the milestones: Onboarding, K-9 Mail 6.200 May 2, 2022
blino added a commit to blino/k-9 that referenced this issue Jun 2, 2022
blino added a commit to blino/k-9 that referenced this issue Jun 2, 2022
blino added a commit to blino/k-9 that referenced this issue Jun 2, 2022
blino added a commit to blino/k-9 that referenced this issue Jun 2, 2022
The OAuth configuration is different for Office365 accounts and
Microsoft (outlook.com, live.com, hotmail.com) accounts, but both can
be used with the same Azure application.

Fixes thunderbird#1753
blino added a commit to blino/k-9 that referenced this issue Jun 7, 2022
The OAuth configuration is different for Office365 accounts and
Microsoft (outlook.com, live.com, hotmail.com) accounts, but both can
be used with the same Azure application.

Fixes thunderbird#1753
blino added a commit to blino/k-9 that referenced this issue Jun 7, 2022
The OAuth configuration is different for Office365 accounts and
Microsoft (outlook.com, live.com, hotmail.com) accounts, but both can
be used with the same Azure application.

Fixes thunderbird#1753
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New features or improvements to existing features. type: security Issues related to security vulnerabilities
Projects
None yet
4 participants