O365 IMAP Authentication: OAuth and MFA Solution

There is much confusion and worry about Microsoft’s plans to disable standard password authentication for the IMAP, and POP3  protocols. Here is the announcement posted on 20-Sept-2019 on the Office 365 blog: https://developer.microsoft.com/en-us/office/blogs/end-of-support-for-basic-authentication-access-to-exchange-online-apis-for-office-365-customers/ Chilkat already supports OAuth2 for the IMAP, POP3, and SMTP protocols. (Microsoft will continue to support basic …

Explaining OAuth2.StartAuth

This post explains the OAuth2 flow for desktop apps.   It begins by calling OAuth2.StartAuth. The oauth2.StartAuth method does two things: 1) Returns a URL that should be displayed in a browser. 2) Starts a background thread to receive the redirect callback from the browser. The flow of control is like …

WSAEACCES An attempt was made to access a socket in a way forbidden by its access permissions

Question: Do you have any idea what I could do to get around the following error that is generated by Chilkat DLL?  I have verified that I can run PHP scripts (i.e., version()) through the port 3017 in localhost, so IIS and PHP are configured properly.  The lcUrl = loOauth2.StartAuth() …

OAuth2 for Desktop Applications (C#, VB.NET using Chilkat)

Here are C# and VB.NET sample applications (on GitHub) for doing OAuth2 authorization using Chilkat for Facebook, Google, LinkedIn, Salesforce, and GitHub. OAuth2 Sample for Desktop Applications (C#) for Facebook, Google, LinkedIn, Salesforce, and GitHub OAuth2 Sample for Desktop Applications (VB.NET) for Facebook, Google, LinkedIn, Salesforce, and GitHub