~~7.3.1, Angular, .NET Framework~~ 8.1.0, Angular, .NET Core
We are using Microsoft Office 365 / Exchange Online and our ASPNETZERO-based application sends e-mails using an Office 365 account - all is working fine.
On the 13th of October in 2020 Microsoft will decomission Basic Authentication for Exchange Web Services for Office 365 (read: Upcoming changes to Exchange Web Services (EWS) API for Office 365).
So, we tested to see what this means for our ASPNETZERO-based application and turned off / blocked Basic Authentication for our Office 365 accounts temporarily. Result: Our application was no longer able to authenticate to send the test e-mail.
Are there any plans to implement OAuth for E-Mail?
2 Answer(s)
-
0
Are there any plans to implement OAuth for E-Mail?
Zero uses mailkit to send mail. If mailkit supports oauth, zero can use it directly.
https://github.com/jstedfast/MailKit
-
1
Microsoft will continue to support Basic Auth for SMTP in Exchange Online: End of support for Basic Authentication access to Exchange Online API’s for Office 365 customers But, for our company the problem still exists since we are Microsoft partner and therefor obligated to turn off Basic Auth for our services by the end of february 2020.
Microsoft is working on OAuth for IMAP in Exchange Online: IMAP auth in Office 365 using OAuth2
Abp.MailKit: DefaultMailKitSmtpBuilder
This might be useful as well:
- Microsoft identity platform (v2.0) overview
- Azure Active Directory with ASP.NET Core
- Microsoft Identity Web
- Tutorial - Enable your Web Apps to sign-in users and call APIs with the Microsoft identity platform for developers)
- Write an ASP.NET MVC Web app to get Outlook mail, calendar, and contacts
- How do I access GMail using MailKit?
My own question on SO: How do I connect to Exchange Online using OAuth 2.0 in MailKit?