Archived Forum Post

Index of archived forum posts

Question:

OAuth2 Sample for Desktop Applications

Sep 21 '16 at 17:58

Here are samples for doing OAuth2 authorization in a desktop application (using Chilkat) for Facebook, Google, LinkedIn, Salesforce, and GitHub. The technique should be usable for other providers..

OAuth2 for C# Desktop Applications for Facebook, Google, LinkedIn, Salesforce, and GitHub

OAuth2 for VB.NET Desktop Applications for Facebook, Google, LinkedIn, Salesforce, and GitHub


Answer

One reason for the example is that it can be translated into many different programming languages, as long as there's an ability to popup or embed a web browser. This particular example uses a asynchronous listener where a TaskCompleted event is fired when the embedded browser makes the callback.