AWS Reference Documentation — Sample Requests and Responses are Important

The AWS Reference Documentation is not consistent.  In some cases, the documentation provides a sample request and sample response.  The samples are extremely helpful, and make it easy to implement the call in any programming language.  With Chilkat, you can usually generate sample code by pasting the sample request, and the body of the sample response into Chilkat’s online tool […]

More Microsoft Graph Misc Notes

Relaying more shared information: “I also wanted to notify you that the “profile” can also be extracted without the use of Graph API (User.Read): https://learn.microsoft.com/en-us/azure/active-directory/develop/id-tokens id_token contains that information and is given along with the access_token but it has to be decoded from a JWT (https://en.wikipedia.org/wiki/JSON_Web_Token) openid, profile, email and offline_access are like some kind of “universal” scopes which can be […]

Microsoft Graph, Outlook, OAuth2, Resources, Audiences…

Here I’m just relaying bits of knowledge from a great Chilkat customer… “I learned meanwhile that Microsoft doesn’t like mixing “resources”, so if you request something from “Graph” resource and “Outlook” resource, they are incompatible resources, so you have to request different tokens for both, or request resource for only Graph and then refresh token only for “Outlook” resources – […]

Is Smartcard Vendor’s low-level lib (dll or so) Required?

Question:  My question is regarding the SharedLib when initializing pkcs11 module. Is the smartcard vendor’s low-level lib (dll or so) required to be able to communicate with a smartcard or do you have some kind of generic lib or driver to achieve this? Answer:  This is a good question.  On a non-Windows system, Chilkat would need to communicate with the […]

Microsoft Azure OAuth2 Redirect URI Notes

Here are some notes regarding OAuth2 Redirect URI’s for Microsoft Azure AD apps. See https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url A few important points: You can add http://127.0.0.1, and it is preferred over http://localhost because of misconfigured firewalls or hosts file etc.   127.0.0.1 is the loopback address and localhost is just translated into 127.0.0.1. The only pitfall is that you have to add it as […]

Chilkat v9.5.0.92 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-91-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-93-release-notes/ Chilkat v9.5.0.92 Release Notes PDF: Fixed some issues with LTV signatures, where Acrobat DC did not consider the signed PDF Long Term Validation enabled. XMLDsig: Added the ability to produce and validate ZATCA compatible XML signatures. Http: Added the ReceivedCertReq boolean property. It is set to true (non-zero) if the server sent a CertificateRequest […]

How to Create QuickBooks in Developer Dashboard

1.  Log in to your Intuit Developer Account Go to https://developer.intuit.com/app/developer/homepage and Sign In. 2. Go to the Dashboard Click on the “Dashboard” link in the top right of the web page. 3. Click on the blue “+ Create an app” link/button. 4. Select the “Quickbooks Online and Payments” platform. 5. Give your app a name and select a scope.  […]

Application Blocked on a System with Carbon Black Installed

Carbon Black is security software that can block your application from running unless you whitelist it.  Here’s a description of how a Chilkat user discovered that Carbon Black was the cause of his PowerBuilder application not working. We figured out why the executable could not retrieve a token from Box. It was not a firewall/network issue, the application was being […]

Office365 Modern Authentication for IMAP, POP3, and SMTP

This post documents how to implement Modern Authentication (OAuth2) for Office365 for the IMAP, POP3, and SMTP protocols.  The very first thing you’ll need to do is to create an “App Registration” in Azure Active Directory. See this Chilkat blog post for Instructions for Setting Up an App Registration in Azure for Modern Authentication for IMAP, SMTP, and POP3. It’s […]

Create Azure App Registration for use with IMAP, POP3, and SMTP

1) Go to https://portal.azure.com/#home and login to your Microsoft account. then go to Azure Active Directory.   2) Click On App Registrations * Copy your Tenant ID, you’ll need it later. 3) Click on “+ New registration” 4) Name your App and Click Register. Give it a name. For the Redirect URI, select “Web” and then use “http://localhost:3017/”. Your application […]