| Home | OAuth | Google / Gmail OAuth |
This guide explains how to create Microsoft OAuth credentials for use with vuMailKit.
Microsoft OAuth is commonly needed for Microsoft 365, Office 365, Outlook.com, Hotmail.com, and Live.com accounts when modern authentication is required.
Make sure you have:
For vuMailKit Basic, you will typically need:
Copy that value carefully. You will later place it into the vuMailKit template in quoted form.
In your Clarion application, open the:
Then:
Enter it in this format:
'client-string'
Example:
'12345678-90ab-cdef-1234-567890abcdef'
Do not remove the single quotes.
Go directly to the Microsoft Entra admin center:
https://entra.microsoft.com/
Sign in with the Microsoft account or Microsoft 365 tenant account that will own the app registration.
If you have access to more than one tenant, switch to the correct tenant first.
Then go to:
Entra ID > App registrations > New registration
Create a new registration for your vuMailKit-based application.
Use a clear name so you can identify it later.
Microsoft will ask which types of accounts your registration should support.
Choose the option that matches the accounts your application is expected to work with. This matters because it controls which Microsoft users can complete authorization.
Set the registration options to match the OAuth flow expected by your vuMailKit-based application.
The exact labels in the Microsoft portal may change over time, but the goal is the same: create the registration so it can be used for the Microsoft OAuth sign-in process your application will invoke.
Once the registration has been created, copy the Application (client) ID value.
This is the value you place into the Microsoft Client ID field in the vuMailKit template.
Common setup problems include:
After entering the Microsoft Client ID into the vuMailKit template:
For related runtime functions, see:
| Home | OAuth | Google / Gmail OAuth |