@the42sync/google
v0.8.2
Published
Google provider for @the42sync
Keywords
Readme
@the42sync/google
Google provider for the42sync. Handles Gmail email sync, Google Contacts sync, and Gmail Pub/Sub webhook validation.
Config reference
| Field | Description |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| clientId | Google OAuth 2.0 client ID |
| clientSecret | Google OAuth 2.0 client secret |
| callbackUrl | OAuth redirect URI registered in Google Cloud Console |
| scopes | OAuth scopes requested during the authorization flow |
| storage.db | GoogleDbStoragePort — adapts DB repositories for emails and contacts |
| storage.files | GoogleFilesStoragePort — adapts file storage for contact avatars |
| subscriptions.gmail.audience | JWT audience configured on the Pub/Sub push subscription. Google signs this value into the OIDC bearer token included in every push delivery. |
| subscriptions.gmail.serviceAccount | Email of the Google service account configured on the Pub/Sub push subscription. The JWT bearer's email claim is compared against this value; a mismatch rejects the message. |
