| Home | OAuth | Microsoft OAuth |
This guide explains how to create Google OAuth credentials for use with vuMailKit.
Google OAuth is commonly needed for Gmail.com accounts and Google Workspace hosted mailboxes when modern authentication is required.
Make sure you have:
For vuMailKit Basic, you will typically need:
Copy both values carefully. You will later place them into the vuMailKit template in quoted form.
In your Clarion application, open the:
Then:
Enter each value in this format:
'client-string'
Example:
'123456789012-abcdefghijklmnopqrstuvwxyz.apps.googleusercontent.com'
'GOCSPX-abcdefghijklmnopqrstuvwxyz123456'
Do not remove the single quotes.
Go directly to Google Cloud Console:
https://console.cloud.google.com/
Sign in with the Google account that will own the OAuth client.
Then create or select the Google Cloud project you want to use for vuMailKit.
Google may require you to set up the OAuth consent and branding information before the client can be fully used.
In Google Cloud Console, look for:
Google Auth platform > Branding
If the Google Auth platform is not configured yet, complete the required setup there.
To create the actual OAuth client, go to:
APIs & Services > Credentials
You can also go directly to the credentials page here:
https://console.cloud.google.com/apis/credentials
Click Create Credentials > OAuth client ID
Then choose the application type that matches the authentication flow your vuMailKit-based application will use.
Set the options required for the Google OAuth flow used by your application.
The exact labels in the Google portal may vary over time, but the main goal remains the same: create a valid OAuth client and obtain the correct Client ID and Client Secret values.
Once the OAuth client has been created, copy:
These are the two values you place into the vuMailKit template.
Common setup problems include:
After entering the Google Client ID and Google Secret into the vuMailKit template:
For related runtime functions, see:
| Home | OAuth | Microsoft OAuth |