Solution for Azure OAuth2 Error: Public clients can’t send a client secret.

Problem: When trying to do get the initial OAuth2 authorization token from Azure (using Chilkat.OAuth2), I get the following error: {“error”:”invalid_request”,”error_description”:”AADSTS90023: Public clients can’t send a client secret. Trace ID: … Solution: Chilkat.OAuth2 is for desktop apps and scripts (i.e. not code that runs on a web server), but it still behaves as a “Web App” because Chilkat.OAuth2.StartAuth starts a […]

OAuth2 Client Credentials – Azure App Registration

This post shows how to register an Azure Application that supports OAuth2 Client Credentials. 1. Register an Application You’ll most likely choose a single-tenant application.  (See explanation of Azure single-tenant vs multi-tenant applications.) You can leave the Redirect URI blank. 2. Note your Application (client) ID and Directory (tenant) ID Make note of your client ID and tenant ID.  It […]

Azure Single-Tenant vs Multi-Tenant Applications

The distinction between single-tenant and multi-tenant Azure applications lies in how these applications handle user access and authentication across different Azure AD tenants (directories). Single-Tenant Azure Application: A single-tenant application is designed to serve users from a single Azure AD tenant (directory). It is registered in and can authenticate users only from that specific Azure AD tenant.  It is used […]

Running Chilkat .NET 4.0 on Azure

See this Microsoft TechNet blog discussion about the solution: http://social.technet.microsoft.com/Forums/en-US/windowsazuredevelopment/thread/8d7a39cc-0e14-49c0-9102-e705c2eec934#498ddad1-d250-418c-9463-2b8958329af3 In summary: Connect with RDP to Azure image and install vcredist_x64.exe. How to configure Azure RDP, you can find here: http://msdn.microsoft.com/en-us/library/gg443832.aspx Also See: https://cknotes.com/?p=311