From 54beedc79ad59898bfc27e3c1e2c64f84e117ad3 Mon Sep 17 00:00:00 2001 From: oscarpedrero Date: Mon, 26 Aug 2024 14:18:07 +0200 Subject: [PATCH] Update WebflowOAuth2Api.credentials.ts Added the forms:read parameter to the scope, which was missing when legacy mode was unchecked. This caused the form submission functionality to stop working. Issue https://github.com/n8n-io/n8n/issues/10549 --- packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts b/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts index 8c754995f8401..65ce169275a61 100644 --- a/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/WebflowOAuth2Api.credentials.ts @@ -41,7 +41,7 @@ export class WebflowOAuth2Api implements ICredentialType { displayName: 'Scope', name: 'scope', type: 'hidden', - default: '={{$self["legacy"] ? "" : "cms:read cms:write sites:read"}}', + default: '={{$self["legacy"] ? "" : "cms:read cms:write sites:read forms:read"}}', }, { displayName: 'Auth URI Query Parameters',