diff --git a/packages/editor-ui/src/composables/useNodeHelpers.ts b/packages/editor-ui/src/composables/useNodeHelpers.ts index 00ac6255c1371..b7b431ffd4f27 100644 --- a/packages/editor-ui/src/composables/useNodeHelpers.ts +++ b/packages/editor-ui/src/composables/useNodeHelpers.ts @@ -373,8 +373,15 @@ export function useNodeHelpers() { node.credentials !== undefined ) { const stored = credentialsStore.getCredentialsByType(nodeCredentialType); - - if (selectedCredsDoNotExist(node, nodeCredentialType, stored)) { + // Prevents HTTP Request node from being unusable if a sharee does not have direct + // access to a credential + const isCredentialUsedInWorkflow = + workflowsStore.usedCredentials?.[node.credentials?.[nodeCredentialType]?.id as string]; + + if ( + selectedCredsDoNotExist(node, nodeCredentialType, stored) && + !isCredentialUsedInWorkflow + ) { const credential = credentialsStore.getCredentialTypeByName(nodeCredentialType); return credential ? reportUnsetCredential(credential) : null; }