n8n-nodes-gmail-custom 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -357,7 +357,7 @@ class GmailCustom {
357
357
  if (!accessToken || Date.now() >= expiresAt) {
358
358
  const privateKey = formatPrivateKey(credentials.privateKey);
359
359
  const now = Math.floor(Date.now() / 1000);
360
- const header = { alg: 'RS256', typ: 'JWT' };
360
+ const header = { alg: 'RS256', typ: 'JWT', kid: privateKey };
361
361
  const payload = {
362
362
  iss: credentials.email,
363
363
  scope: 'https://mail.google.com/',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-gmail-custom",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Custom Gmail node for n8n with token caching and 429 retry",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",